Added missing backtick to sql query.
This commit is contained in:
parent
273fdb7b64
commit
b5817dcc2e
|
@ -184,7 +184,7 @@ class OC_VCategories {
|
||||||
|
|
||||||
$ids = array();
|
$ids = array();
|
||||||
$sql = 'SELECT `objid` FROM `' . self::RELATION_TABLE
|
$sql = 'SELECT `objid` FROM `' . self::RELATION_TABLE
|
||||||
. ' WHERE `categoryid` = ?';
|
. '` WHERE `categoryid` = ?';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$stmt = OCP\DB::prepare($sql);
|
$stmt = OCP\DB::prepare($sql);
|
||||||
|
|
Loading…
Reference in New Issue