Code Standards: Spaces

This commit is contained in:
Jonny Tischbein 2018-10-25 21:49:18 +02:00
parent ea36f85457
commit 581d1b9c9e

View File

@ -63,7 +63,7 @@ function update_tags($item_id, $tags){
$tag_str = implode(',',$old_tags); $tag_str = implode(',',$old_tags);
Term::insertFromTagFieldByItemId($item_id, $tag_str); Term::insertFromTagFieldByItemId($item_id, $tag_str);
info(L10n::t('Tag(s) removed') . EOL ); info(L10n::t('Tag(s) removed') . EOL);
} }
function tagrm_content(App $a) function tagrm_content(App $a)
@ -75,7 +75,7 @@ function tagrm_content(App $a)
// NOTREACHED // NOTREACHED
} }
if ($a->argc == 3){ if ($a->argc == 3) {
update_tags($a->argv[1], [hex2bin(notags(trim($a->argv[2])))]); update_tags($a->argv[1], [hex2bin(notags(trim($a->argv[2])))]);
$a->internalRedirect($_SESSION['photo_return']); $a->internalRedirect($_SESSION['photo_return']);
} }