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:
Roland Häder
2016-12-20 10:10:33 +01:00
parent 884f44ce94
commit abff6372dd
53 changed files with 118 additions and 87 deletions
+4 -2
View File
@@ -19,8 +19,9 @@ function tagrm_post(&$a) {
intval(local_user())
);
if(! dbm::is_result($r))
if (! dbm::is_result($r)) {
goaway(App::get_baseurl() . '/' . $_SESSION['photo_return']);
}
$arr = explode(',', $r[0]['tag']);
for($x = 0; $x < count($arr); $x ++) {
@@ -68,8 +69,9 @@ function tagrm_content(&$a) {
intval(local_user())
);
if(! dbm::is_result($r))
if (! dbm::is_result($r)) {
goaway(App::get_baseurl() . '/' . $_SESSION['photo_return']);
}
$arr = explode(',', $r[0]['tag']);