application: Allow clearing the Application URL

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-10-30 00:09:15 +01:00
committed by Chris Morgan
parent c3f47364ae
commit 710d79224a

View File

@@ -203,7 +203,7 @@ class Application {
$sWhatChanged .= "Keywords were changed from\n ".$oApp->sKeywords."\n to \n".$this->sKeywords.".\n\n"; $sWhatChanged .= "Keywords were changed from\n ".$oApp->sKeywords."\n to \n".$this->sKeywords.".\n\n";
} }
if ($this->sWebpage && ($this->sWebpage!=$oApp->sWebpage)) if ($this->sWebpage!=$oApp->sWebpage)
{ {
if (!query_parameters("UPDATE appFamily SET webPage = '?' WHERE appId = '?'", if (!query_parameters("UPDATE appFamily SET webPage = '?' WHERE appId = '?'",
$this->sWebpage, $this->iAppId)) $this->sWebpage, $this->iAppId))