mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Now the user can delete filters with an empty name
This commit is contained in:
parent
36180716ee
commit
7555963297
@ -32,7 +32,7 @@ if ($delete){
|
|||||||
|
|
||||||
$id = (int) get_parameter('id');
|
$id = (int) get_parameter('id');
|
||||||
|
|
||||||
$id_filter = db_get_value('id_name', 'tevent_filter', 'id_filter', $id);
|
$id_filter = db_get_value('id_filter', 'tevent_filter', 'id_filter', $id);
|
||||||
|
|
||||||
if ($id_filter === false) {
|
if ($id_filter === false) {
|
||||||
$result = false;
|
$result = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user