We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ae609 commit 5fb9a60Copy full SHA for 5fb9a60
htdocs/stancerdolicloud/admin/setup.php
@@ -384,7 +384,7 @@
384
$sql = "SELECT nom";
385
$sql .= " FROM ".MAIN_DB_PREFIX."document_model";
386
$sql .= " WHERE type = '".$db->escape($type)."'";
387
- $sql .= " AND entity = ".$conf->entity;
+ $sql .= " AND entity = ".((int) $conf->entity);
388
$resql = $db->query($sql);
389
if ($resql) {
390
$i = 0;
0 commit comments