fixed bug when clicking cancel
This commit is contained in:
@@ -86,6 +86,10 @@ class ps4 {
|
|||||||
$sql = "UPDATE game_thumbnail SET thumbnail_url = '".$url."' WHERE game_id = '".$gameid."';";
|
$sql = "UPDATE game_thumbnail SET thumbnail_url = '".$url."' WHERE game_id = '".$gameid."';";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (($url == "") or ($url == "null")) {
|
||||||
|
echo "<strong>ERROR:</strong> No URL specified.";
|
||||||
|
echo "<br/><br/>";
|
||||||
|
} else {
|
||||||
$result = $this->mysql_conn($sql);
|
$result = $this->mysql_conn($sql);
|
||||||
if ($result == 1) {
|
if ($result == 1) {
|
||||||
echo "<strong>SUCCESS:</strong> Updated image URL for <strong>". $gamename ."</strong> (". $gameid .")";
|
echo "<strong>SUCCESS:</strong> Updated image URL for <strong>". $gamename ."</strong> (". $gameid .")";
|
||||||
@@ -98,4 +102,6 @@ class ps4 {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user