diff options
Diffstat (limited to 'mod/match.php')
-rw-r--r-- | mod/match.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/match.php b/mod/match.php index 926df1dff..fbe3aa91f 100644 --- a/mod/match.php +++ b/mod/match.php @@ -11,7 +11,7 @@ function match_content(&$a) { $o .= '<h2>' . t('Profile Match') . '</h2>'; - $r = q("SELECT `pub_keywords`, `prv_keywords` FROM `profile` WHERE `is-default` = 1 AND `uid` = %d LIMIT 1", + $r = q("SELECT `pub_keywords`, `prv_keywords` FROM `profile` WHERE `is_default` = 1 AND `uid` = %d LIMIT 1", intval(local_user()) ); if(! count($r)) |