reformat query

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@679 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2010-02-20 11:37:03 +00:00
parent cae9f4de38
commit 6a2f1f4f57

View file

@ -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(