|
@@ 167-171 (lines=5) @@
|
| 164 |
|
$querybuilder->execute(); |
| 165 |
|
$iLastInsertID = $this->dbal->lastInsertId(); |
| 166 |
|
\HaaseIT\HCSF\Helper::redirectToPage('/_admin/itemgroupadmin.html?action=editgroup&added&gid='.$iLastInsertID); |
| 167 |
|
} else { |
| 168 |
|
$this->P->cb_customdata['err'] = $aErr; |
| 169 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 170 |
|
$this->P->cb_customdata['group'] = $this->admin_prepareGroup('add'); |
| 171 |
|
} |
| 172 |
|
} else { |
| 173 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 174 |
|
$this->P->cb_customdata['group'] = $this->admin_prepareGroup('add'); |
|
@@ 172-175 (lines=4) @@
|
| 169 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 170 |
|
$this->P->cb_customdata['group'] = $this->admin_prepareGroup('add'); |
| 171 |
|
} |
| 172 |
|
} else { |
| 173 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 174 |
|
$this->P->cb_customdata['group'] = $this->admin_prepareGroup('add'); |
| 175 |
|
} |
| 176 |
|
} else { |
| 177 |
|
if (!$return .= $this->admin_showItemgroups($this->admin_getItemgroups(''))) { |
| 178 |
|
$this->P->cb_customdata['err']['nogroupsavaliable'] = true; |