Passed
Push — dev ( 7b33de...17ad80 )
by Darko
14:48 queued 05:38
created
www/admin/role-edit.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
 }
15 15
 
16 16
 switch ((isset($_REQUEST['action']) ? $_REQUEST['action'] : 'view')) {
17
-	case 'add':
18
-		$page->title              = "User Roles Add";
17
+	case 'add' : $page->title = "User Roles Add";
19 18
 		$role = [
20 19
 			'id'               => '',
21 20
 			'name'             => '',
@@ -58,7 +57,7 @@  discard block
 block discarded – undo
58 57
 
59 58
 $page->smarty->assign('yesno_ids', [1, 0]);
60 59
 $page->smarty->assign('yesno_names', ['Yes', 'No']);
61
-$page->smarty->assign('catlist',$category->getForSelect(false));
60
+$page->smarty->assign('catlist', $category->getForSelect(false));
62 61
 
63 62
 $page->content = $page->smarty->fetch('role-edit.tpl');
64 63
 $page->render();
Please login to merge, or discard this patch.