mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org> Conflicts: mod/bookmarklet.php mod/community.php mod/contacts.php mod/crepair.php mod/events.php mod/network.php mod/suggest.php mod/uexport.php view/theme/duepuntozero/config.php view/theme/frio/config.php view/theme/quattro/config.php view/theme/vier/config.php
This commit is contained in:
parent
5f41375ad3
commit
ace8f753ac
50 changed files with 225 additions and 165 deletions
|
@ -4,7 +4,7 @@ require_once('include/bbcode.php');
|
|||
|
||||
function tagrm_post(&$a) {
|
||||
|
||||
if(! local_user())
|
||||
if (! local_user())
|
||||
goaway(App::get_baseurl() . '/' . $_SESSION['photo_return']);
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ function tagrm_content(&$a) {
|
|||
|
||||
$o = '';
|
||||
|
||||
if(! local_user()) {
|
||||
if (! local_user()) {
|
||||
goaway(App::get_baseurl() . '/' . $_SESSION['photo_return']);
|
||||
// NOTREACHED
|
||||
}
|
||||
|
@ -63,7 +63,6 @@ function tagrm_content(&$a) {
|
|||
// NOTREACHED
|
||||
}
|
||||
|
||||
|
||||
$r = q("SELECT * FROM `item` WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
||||
intval($item),
|
||||
intval(local_user())
|
||||
|
@ -75,8 +74,9 @@ function tagrm_content(&$a) {
|
|||
|
||||
$arr = explode(',', $r[0]['tag']);
|
||||
|
||||
if(! count($arr))
|
||||
if (! count($arr)) {
|
||||
goaway(App::get_baseurl() . '/' . $_SESSION['photo_return']);
|
||||
}
|
||||
|
||||
$o .= '<h3>' . t('Remove Item Tag') . '</h3>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue