Coding convention applied:
- space between "if" and brace - curly braces on conditional blocks Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
dac1dbd3e9
commit
fb676335db
53 changed files with 117 additions and 87 deletions
|
@ -27,8 +27,9 @@ function match_content(&$a) {
|
|||
$r = q("SELECT `pub_keywords`, `prv_keywords` FROM `profile` WHERE `is-default` = 1 AND `uid` = %d LIMIT 1",
|
||||
intval(local_user())
|
||||
);
|
||||
if(! dbm::is_result($r))
|
||||
if (! dbm::is_result($r)) {
|
||||
return;
|
||||
}
|
||||
if(! $r[0]['pub_keywords'] && (! $r[0]['prv_keywords'])) {
|
||||
notice( t('No keywords to match. Please add keywords to your default profile.') . EOL);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue