mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
971c7a40b3
commit
beb0c8362e
@ -15,13 +15,14 @@
|
||||
error(403);
|
||||
}
|
||||
|
||||
$DB->query("
|
||||
if (isset($_POST['name'])) {
|
||||
$DB->query("
|
||||
SELECT ID, Deleted
|
||||
FROM collages
|
||||
WHERE Name = '".db_string($_POST['name'])."'
|
||||
AND ID != '$CollageID'
|
||||
LIMIT 1");
|
||||
if ($DB->has_results()) {
|
||||
if ($DB->has_results()) {
|
||||
list($ID, $Deleted) = $DB->next_record();
|
||||
if ($Deleted) {
|
||||
$Err = 'A collage with that name already exists but needs to be recovered, please <a href="staffpm.php">contact</a> the staff team!';
|
||||
@ -31,6 +32,7 @@
|
||||
$ErrNoEscape = true;
|
||||
include(SERVER_ROOT.'/sections/collages/edit.php');
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
$TagList = explode(',', $_POST['tags']);
|
||||
|
Loading…
Reference in New Issue
Block a user