Completed
Pull Request — develop (#716)
by Agel_Nash
09:00
created
manager/includes/src/Legacy/TemplateParser.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php namespace EvolutionCMS\Legacy;
2 2
 
3
-Class TemplateParser
3
+class TemplateParser
4 4
 {
5 5
 
6 6
     /**
Please login to merge, or discard this patch.
manager/includes/template.parser.class.inc.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * @todo could be unnecessary
9 9
  *
10 10
  */
11
-Class TemplateParser extends EvolutionCMS\Legacy\TemplateParser
11
+class TemplateParser extends EvolutionCMS\Legacy\TemplateParser
12 12
 {
13 13
 }
14 14
 
Please login to merge, or discard this patch.
manager/includes/functions/tv.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
                         $modx->setPlaceholder($rvKey, $rvValue);
52 52
                     }
53 53
                     $param = $modx->mergePlaceholderContent($param);
54
-                    $rs = $modx->db->query("SELECT $param;");
54
+                    $rs = $modx->db->query("select $param;");
55 55
                     $output = $rs;
56 56
                     break;
57 57
 
Please login to merge, or discard this patch.
manager/includes/functions/actions/files.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -887,7 +887,7 @@
 block discarded – undo
887 887
                     $complete_name = $path . str_replace('\\', '/', $zip_entry_name);
888 888
                     if (!file_exists($complete_path)) {
889 889
                         $tmp = '';
890
-                        foreach (explode('/', $complete_path) AS $k) {
890
+                        foreach (explode('/', $complete_path) as $k) {
891 891
                             $tmp .= $k . '/';
892 892
                             if (!is_dir($tmp)) {
893 893
                                 mkdir($tmp, 0777);
Please login to merge, or discard this patch.