Fix a non working query that prevented events to show up right after adding them
Ref: 535c1a4cb5
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
085cbb9fab
commit
3e8b51214f
@ -1632,7 +1632,7 @@ class DatabaseInterface implements DbalInterface
|
|||||||
} else {
|
} else {
|
||||||
$query = 'SHOW EVENTS FROM ' . Util::backquote($db);
|
$query = 'SHOW EVENTS FROM ' . Util::backquote($db);
|
||||||
if (! empty($name)) {
|
if (! empty($name)) {
|
||||||
$query .= " AND `Name` = '"
|
$query .= " WHERE `Name` = '"
|
||||||
. $this->escapeString($name) . "'";
|
. $this->escapeString($name) . "'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user