added curly braces + space between "if" and brace

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 11:27:40 +01:00 committed by Roland Haeder
parent 820ef8e4c7
commit 8b8a45b703
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78

View File

@ -5,6 +5,7 @@ function notify_init(App &$a) {
if (! local_user()) { if (! local_user()) {
return; return;
} }
$nm = new NotificationsManager(); $nm = new NotificationsManager();
if ($a->argc > 2 && $a->argv[1] === 'view' && intval($a->argv[2])) { if ($a->argc > 2 && $a->argv[1] === 'view' && intval($a->argv[2])) {