mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Fix news delete message part 2
This commit is contained in:
@@ -56,8 +56,9 @@ if(!empty($action))
|
||||
}
|
||||
}
|
||||
else if($action == 'delete') {
|
||||
News::delete($id, $errors);
|
||||
success("Deleted successful.");
|
||||
if (News::delete($id, $errors)) {
|
||||
success("Deleted successful.");
|
||||
}
|
||||
}
|
||||
else if($action == 'edit')
|
||||
{
|
||||
|
Reference in New Issue
Block a user