Completed
Push — master ( 825da9...adb11b )
by Michael
02:15
created
class/common/FilesManagement.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,7 @@
 block discarded – undo
35 35
 
36 36
                 file_put_contents($folder . '/index.html', '<script>history.go(-1);</script>');
37 37
             }
38
-        }
39
-        catch (\Exception $e) {
38
+        } catch (\Exception $e) {
40 39
             echo 'Caught exception: ', $e->getMessage(), "\n", '<br>';
41 40
         }
42 41
     }
Please login to merge, or discard this patch.
include/plugin.tag.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,8 @@  discard block
 block discarded – undo
60 60
                . "                WHERE {$itemHandler->table}.status > 0"
61 61
                . '            ) '
62 62
                . '        )';
63
-    else:
63
+    else {
64
+    	:
64 65
         $sql = "    DELETE {$linkHandler->table} FROM {$linkHandler->table}"
65 66
                . "    LEFT JOIN {$itemHandler->table} AS aa ON {$linkHandler->table}.tag_itemid = aa.{$itemHandler->keyName} "
66 67
                . '    WHERE '
@@ -68,7 +69,8 @@  discard block
 block discarded – undo
68 69
                . '        AND '
69 70
                . "        ( aa.{$itemHandler->keyName} IS NULL"
70 71
                . '            OR aa.status < 1'
71
-               . '        )';
72
+               . '        )';
73
+    }
72 74
     endif;
73 75
     if (!$result = $linkHandler->db->queryF($sql)) {
74 76
         //xoops_error($linkHandler->db->error());
Please login to merge, or discard this patch.