|
@@ 160-164 (lines=5) @@
|
| 157 |
|
$querybuilder->execute(); |
| 158 |
|
$iLastInsertID = $this->dbal->lastInsertId(); |
| 159 |
|
$this->helper->redirectToPage('/_admin/itemgroupadmin.html?action=editgroup&added&gid='.$iLastInsertID); |
| 160 |
|
} else { |
| 161 |
|
$this->P->cb_customdata['err'] = $aErr; |
| 162 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 163 |
|
$this->P->cb_customdata['group'] = $this->prepareGroup('add'); |
| 164 |
|
} |
| 165 |
|
} else { |
| 166 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 167 |
|
$this->P->cb_customdata['group'] = $this->prepareGroup('add'); |
|
@@ 165-168 (lines=4) @@
|
| 162 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 163 |
|
$this->P->cb_customdata['group'] = $this->prepareGroup('add'); |
| 164 |
|
} |
| 165 |
|
} else { |
| 166 |
|
$this->P->cb_customdata['showform'] = 'add'; |
| 167 |
|
$this->P->cb_customdata['group'] = $this->prepareGroup('add'); |
| 168 |
|
} |
| 169 |
|
} else { |
| 170 |
|
if (!$return .= $this->showItemgroups($this->getItemgroups(''))) { |
| 171 |
|
$this->P->cb_customdata['err']['nogroupsavaliable'] = true; |