Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 48d98a2

Browse files
committed
Weird cases using ; instead of :
1 parent 49ccb74 commit 48d98a2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

core/src/plugins/access.fs/class.fsAccessDriver.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ public function switchAction($action, $httpVars, $fileVars)
474474
//------------------------------------
475475
// COPY / MOVE
476476
//------------------------------------
477-
case "copy";
478-
case "move";
477+
case "copy":
478+
case "move":
479479

480480
if ($selection->isEmpty()) {
481481
throw new AJXP_Exception("", 113);
@@ -530,7 +530,7 @@ public function switchAction($action, $httpVars, $fileVars)
530530
//------------------------------------
531531
// DELETE
532532
//------------------------------------
533-
case "delete";
533+
case "delete":
534534

535535
if ($selection->isEmpty()) {
536536
throw new AJXP_Exception("", 113);
@@ -567,7 +567,7 @@ public function switchAction($action, $httpVars, $fileVars)
567567
//------------------------------------
568568
// RENAME
569569
//------------------------------------
570-
case "rename";
570+
case "rename":
571571

572572
$file = $selection->getUniqueFile();
573573
$filename_new = AJXP_Utils::decodeSecureMagic($httpVars["filename_new"]);
@@ -591,7 +591,7 @@ public function switchAction($action, $httpVars, $fileVars)
591591
//------------------------------------
592592
// CREER UN REPERTOIRE / CREATE DIR
593593
//------------------------------------
594-
case "mkdir";
594+
case "mkdir":
595595

596596
$messtmp="";
597597
$files = $selection->getFiles();
@@ -641,7 +641,7 @@ public function switchAction($action, $httpVars, $fileVars)
641641
//------------------------------------
642642
// CREER UN FICHIER / CREATE FILE
643643
//------------------------------------
644-
case "mkfile";
644+
case "mkfile":
645645

646646
$messtmp="";
647647
if(empty($httpVars["filename"]) && isSet($httpVars["node"])){
@@ -678,7 +678,7 @@ public function switchAction($action, $httpVars, $fileVars)
678678
//------------------------------------
679679
// CHANGE FILE PERMISSION
680680
//------------------------------------
681-
case "chmod";
681+
case "chmod":
682682

683683
$files = $selection->getFiles();
684684
$changedFiles = array();

0 commit comments

Comments
 (0)