Completed
Pull Request — FVSv2 (#47)
by Patrick
02:27
created
class.VolunteerPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         $this->addJSByURI($this->volunteerRoot.'/js/volunteer.js', false);
16 16
     }
17 17
 
18
-    function printPage($header=true)
18
+    function printPage($header = true)
19 19
     {
20 20
         if($this->user === false || $this->user === null)
21 21
         {
Please login to merge, or discard this patch.
app/VolunteerAutoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,11 +5,11 @@
 block discarded – undo
5 5
     $classname = ltrim($classname, '\\');
6 6
     $filename  = '';
7 7
     $namespace = '';
8
-    if ($lastNsPos = strrpos($classname, '\\'))
8
+    if($lastNsPos = strrpos($classname, '\\'))
9 9
     {
10 10
         $namespace = substr($classname, 0, $lastNsPos);
11 11
         $classname = substr($classname, $lastNsPos + 1);
12
-        $filename  = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
12
+        $filename  = str_replace('\\', DIRECTORY_SEPARATOR, $namespace).DIRECTORY_SEPARATOR;
13 13
     }
14 14
     $filename = __DIR__.DIRECTORY_SEPARATOR.$filename.'class.'.$classname.'.php'; 
15 15
     if(is_readable($filename))
Please login to merge, or discard this patch.