reformat query
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@679 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
cae9f4de38
commit
6a2f1f4f57
1 changed files with 3 additions and 1 deletions
|
@ -325,7 +325,9 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
|
||||||
$crit['uId'] = $uid;
|
$crit['uId'] = $uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'SELECT COUNT(*) as "0" FROM '. $GLOBALS['tableprefix'] .'bookmarks WHERE '. $this->db->sql_build_array('SELECT', $crit);
|
$sql = 'SELECT COUNT(*) as "0" FROM '
|
||||||
|
. $GLOBALS['tableprefix'] . 'bookmarks'
|
||||||
|
. ' WHERE '. $this->db->sql_build_array('SELECT', $crit);
|
||||||
|
|
||||||
if (!($dbresult = $this->db->sql_query($sql))) {
|
if (!($dbresult = $this->db->sql_query($sql))) {
|
||||||
message_die(
|
message_die(
|
||||||
|
|
Loading…
Reference in a new issue