Coding convention applied:
- space between "if" and brace - curly braces on conditional blocks Signed-off-by: Roland Häder <roland@mxchange.org> Conflicts: include/lock.php
This commit is contained in:
+2
-1
@@ -21,8 +21,9 @@ function lockview_content(&$a) {
|
||||
dbesc($type),
|
||||
intval($item_id)
|
||||
);
|
||||
if(! dbm::is_result($r))
|
||||
if (! dbm::is_result($r)) {
|
||||
killme();
|
||||
}
|
||||
$item = $r[0];
|
||||
|
||||
call_hooks('lockview_content', $item);
|
||||
|
||||
Reference in New Issue
Block a user