[TASK] Fix very last 2 CGL violations "SemicolonSpacingIncorrect"
authorRoland Waldner <most.wanted@gmx.at>
Sun, 1 Jul 2012 16:11:15 +0000 (18:11 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sun, 1 Jul 2012 18:07:45 +0000 (20:07 +0200)
Change-Id: Icc9f3f7262c8f0cdc8e6ebd5b401f00dda9fd86a
Resolves: #38524
Releases: 6.0
Reviewed-on: http://review.typo3.org/12505
Reviewed-by: Wouter Wolters
Tested-by: Susanne Moog
Reviewed-by: Susanne Moog
typo3/alt_clickmenu.php
typo3/sysext/statictemplates/media/scripts/makeMenu_datedirectory.inc

index 860688c..c8d1f6e 100644 (file)
@@ -230,7 +230,7 @@ class clickMenu {
                                if (!in_array('edit', $this->disabledItems)) {
                                        $menuItems['edit']=$this->DB_edit($table, $uid);
                                }
-                               $this->editOK =;
+                               $this->editOK = 1;
                        }
 
                                // New:
index db35527..fd4fde5 100644 (file)
@@ -47,7 +47,7 @@ if ($day == -1) {
 if ($day == date('w')) {
        $son = mktime(0, 0, 0, date('m'), date('d'), date('Y'));
 } else {
-       for ($i = 1; ; $i++) {
+       for ($i = 1;; $i++) {
                $son = mktime(0, 0, 0, date('m'), date('d') - $i, date('Y'));
                if ($day == date('w', $son)) {
                        break;