format
This commit is contained in:
parent
d30b4c97ef
commit
0f162fe32a
3 changed files with 3 additions and 3 deletions
|
@ -140,7 +140,7 @@ class BaseThemelet
|
|||
$out = emptyHTML();
|
||||
$n = 0;
|
||||
foreach ($pieces as $piece) {
|
||||
if($n++ > 0) {
|
||||
if ($n++ > 0) {
|
||||
$out->appendChild($glue);
|
||||
}
|
||||
$out->appendChild($piece);
|
||||
|
|
|
@ -98,7 +98,7 @@ class Tag
|
|||
|
||||
// don't cache in unit tests, because the test suite doesn't
|
||||
// reset static variables but it does reset the database
|
||||
if(!defined("UNITTEST") && array_key_exists($tag, self::$tag_id_cache)) {
|
||||
if (!defined("UNITTEST") && array_key_exists($tag, self::$tag_id_cache)) {
|
||||
return self::$tag_id_cache[$tag];
|
||||
}
|
||||
|
||||
|
|
|
@ -341,7 +341,7 @@ class TagEdit extends Extension
|
|||
|
||||
$last_id = $image->id;
|
||||
}
|
||||
if($commit) {
|
||||
if ($commit) {
|
||||
$database->commit();
|
||||
$database->begin_transaction();
|
||||
}
|
||||
|
|
Reference in a new issue