|
@@ 323-325 (lines=3) @@
|
| 320 |
|
|
| 321 |
|
$confirm = \Xmf\Request::getInt('confirm', 0, POST); |
| 322 |
|
if ($confirm) { |
| 323 |
|
if (!$this->handler->delete($smartObj)) { |
| 324 |
|
redirect_header($_POST['redirect_page'], 3, _CO_SOBJECT_DELETE_ERROR . $smartObj->getHtmlErrors()); |
| 325 |
|
} |
| 326 |
|
|
| 327 |
|
redirect_header($_POST['redirect_page'], 3, _CO_SOBJECT_DELETE_SUCCESS); |
| 328 |
|
} else { |
|
@@ 366-368 (lines=3) @@
|
| 363 |
|
|
| 364 |
|
$confirm = \Xmf\Request::getInt('confirm', 0, POST); |
| 365 |
|
if ($confirm) { |
| 366 |
|
if (!$this->handler->delete($smartObj)) { |
| 367 |
|
redirect_header($_POST['redirect_page'], 3, _CO_SOBJECT_DELETE_ERROR . $smartObj->getHtmlErrors()); |
| 368 |
|
} |
| 369 |
|
|
| 370 |
|
redirect_header($_POST['redirect_page'], 3, _CO_SOBJECT_DELETE_SUCCESS); |
| 371 |
|
} else { |