more backquotes - this should take care of most except for the array import queries
This commit is contained in:
@@ -289,7 +289,7 @@ class Channel {
|
||||
$yes_no = array(t('No'),t('Yes'));
|
||||
|
||||
|
||||
$p = q("SELECT * FROM `profile` WHERE `is_default` = 1 AND `uid` = %d LIMIT 1",
|
||||
$p = q("SELECT * FROM profile WHERE is_default = 1 AND uid = %d LIMIT 1",
|
||||
intval(local_channel())
|
||||
);
|
||||
if(count($p))
|
||||
|
@@ -19,7 +19,7 @@ class Featured {
|
||||
|
||||
$o = '';
|
||||
|
||||
$r = q("SELECT * FROM `hook` WHERE `hook` = 'feature_settings' ");
|
||||
$r = q("SELECT * FROM hook WHERE hook = 'feature_settings' ");
|
||||
if(! $r)
|
||||
$settings_addons = t('No feature settings configured');
|
||||
|
||||
|
Reference in New Issue
Block a user