application::create() should return false upon failure
This commit is contained in:
@@ -119,7 +119,7 @@ class Application {
|
|||||||
function create()
|
function create()
|
||||||
{
|
{
|
||||||
if(!$_SESSION['current']->canCreateApplication())
|
if(!$_SESSION['current']->canCreateApplication())
|
||||||
return;
|
return false;
|
||||||
|
|
||||||
$hResult = query_parameters("INSERT INTO appFamily (appName, description, ".
|
$hResult = query_parameters("INSERT INTO appFamily (appName, description, ".
|
||||||
"keywords, webPage, vendorId, catId, ".
|
"keywords, webPage, vendorId, catId, ".
|
||||||
|
|||||||
Reference in New Issue
Block a user