@@ 294-304 (lines=11) @@ | ||
291 | } |
|
292 | break; |
|
293 | ||
294 | case 'clone': |
|
295 | ||
296 | $id_field = Request::getString('id', ''); |
|
297 | ||
298 | if ($utility::cloneRecord('randomquote_category', 'id', $id_field)) { |
|
299 | redirect_header('category.php', 3, AM_RANDOMQUOTE_CLONED_OK); |
|
300 | } else { |
|
301 | redirect_header('category.php', 3, AM_RANDOMQUOTE_CLONED_FAILED); |
|
302 | } |
|
303 | ||
304 | break; |
|
305 | } |
|
306 | require_once __DIR__ . '/admin_footer.php'; |
|
307 |
@@ 189-199 (lines=11) @@ | ||
186 | } |
|
187 | break; |
|
188 | ||
189 | case 'clone': |
|
190 | ||
191 | $id_field = Request::getString('id', ''); |
|
192 | ||
193 | if ($utility::cloneRecord('randomquote_quotes', 'id', $id_field)) { |
|
194 | redirect_header('quotes.php', 3, AM_RANDOMQUOTE_CLONED_OK); |
|
195 | } else { |
|
196 | redirect_header('quotes.php', 3, AM_RANDOMQUOTE_CLONED_FAILED); |
|
197 | } |
|
198 | ||
199 | break; |
|
200 | } |
|
201 | require_once __DIR__ . '/admin_footer.php'; |
|
202 |