@@ -40,7 +40,7 @@ |
||
40 | 40 | $parts = pathinfo($name); |
41 | 41 | $ext = isset($parts['extension']) ? ('.'.$parts['extension']) : ''; |
42 | 42 | $base = $parts['filename']; |
43 | - $number = 0; |
|
43 | + $number = 0; |
|
44 | 44 | |
45 | 45 | do |
46 | 46 | { |
@@ -24,8 +24,7 @@ |
||
24 | 24 | protected function getAllFiles($custID, $shared = false) |
25 | 25 | { |
26 | 26 | return CustomerFiles::where('cust_id', $custID) |
27 | - ->when($shared, function($q) |
|
28 | - { |
|
27 | + ->when($shared, function($q) { |
|
29 | 28 | $q->where('shared', 1); |
30 | 29 | }) |
31 | 30 | ->with('Files') |
@@ -29,7 +29,7 @@ |
||
29 | 29 | return false; |
30 | 30 | } |
31 | 31 | |
32 | - $fileID = $this->addDatabaseRow($filename, $this->path); |
|
32 | + $fileID = $this->addDatabaseRow($filename, $this->path); |
|
33 | 33 | $this->processCustFile($fileID, $userID, $request); |
34 | 34 | |
35 | 35 | return true; |