Update DownloadController.php (#1267)
* Update DownloadController.php * StyleFix * Another StyleFix ! * Update DownloadController.php * Last StyleFix and Update * Apply StyleCI fix Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh>
This commit is contained in:
parent
88a8ffe48a
commit
4a04d73d08
@ -41,6 +41,8 @@ class DownloadController extends Controller
|
||||
$klass = new $class();
|
||||
$obj = $klass->find($id);
|
||||
|
||||
// Check if the object is there first
|
||||
if (isset($obj)) {
|
||||
$category = explode('\\', $class);
|
||||
$category = end($category);
|
||||
|
||||
@ -58,6 +60,7 @@ class DownloadController extends Controller
|
||||
|
||||
$regrouped_files[$group_name] = $files;
|
||||
}
|
||||
}
|
||||
|
||||
ksort($regrouped_files, SORT_STRING);
|
||||
|
||||
|
1
resources/lang/zh/aircraft.php
Normal file
1
resources/lang/zh/aircraft.php
Normal file
@ -0,0 +1 @@
|
||||
'stored' => '保存',
|
Loading…
Reference in New Issue
Block a user