Fix the if statement

This commit is contained in:
Mark Crane 2014-07-27 03:38:09 +00:00
parent 608595f412
commit 41196d52aa
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ if ($db_type == "pgsql") {
} }
//get the software name //get the software name
if (strlen($_SESSION["domain_uuid"]) == 0) { if (!isset($_SESSION["software_name"])) {
$sql = "select * from v_software "; $sql = "select * from v_software ";
$prep_statement = $db->prepare(check_sql($sql)); $prep_statement = $db->prepare(check_sql($sql));
if ($prep_statement) { if ($prep_statement) {