diff --git a/include/version.php b/include/version.php index 0c0f254..aaafc4c 100644 --- a/include/version.php +++ b/include/version.php @@ -207,6 +207,7 @@ class version { { if(!query_parameters("UPDATE appVersion SET obsoleteBy = '?' WHERE versionId = '?'", $this->iObsoleteBy, $this->iVersionId)) + return FALSE; if($this->iObsoleteBy) $sWhatChanged .= "The version was marked as obsolete.\n\n";