Update dbinterface.class.php

Correct syntax
This commit is contained in:
steve-lad 2021-03-31 13:38:03 +02:00
parent b79498dcb5
commit 42717424a2

View file

@ -91,7 +91,7 @@ class dbinterface
break;
}
} else { //no filter and no name provided - return all
$stmts = $dbh->prepare('SELECT ' . $fld . ' FROM sccpdeviceconfig WHERE ORDER BY name');
$stmts = $dbh->prepare("SELECT {$fld} FROM sccpdeviceconfig ORDER BY name");
}
break;
case 'HWSipDevice':