Fix Uncaught TypeError when clicking the SQL tab
Fixes #14373 Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
This commit is contained in:
parent
aa6ffda43c
commit
416e5c5e30
@ -410,7 +410,7 @@ class SqlQueryForm
|
||||
$html .= '<select name="id_bookmark" id="id_bookmark">' . "\n";
|
||||
$html .= '<option value=""> </option>' . "\n";
|
||||
foreach ($bookmark_list as $bookmark) {
|
||||
$html .= '<option value="' . htmlspecialchars($bookmark->getId()) . '"'
|
||||
$html .= '<option value="' . htmlspecialchars((string)$bookmark->getId()) . '"'
|
||||
. ' data-varcount="' . $bookmark->getVariableCount()
|
||||
. '">'
|
||||
. htmlspecialchars($bookmark->getLabel())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user