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
|
|
@ -16,7 +16,7 @@ function attach_init(&$a) {
|
|||
$r = q("SELECT * FROM `attach` WHERE `id` = %d LIMIT 1",
|
||||
intval($item_id)
|
||||
);
|
||||
if(! dbm::is_result($r)) {
|
||||
if (! dbm::is_result($r)) {
|
||||
notice( t('Item was not found.'). EOL);
|
||||
return;
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ function attach_init(&$a) {
|
|||
dbesc($item_id)
|
||||
);
|
||||
|
||||
if(! dbm::is_result($r)) {
|
||||
if (! dbm::is_result($r)) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue