Fix the if statement
This commit is contained in:
parent
608595f412
commit
41196d52aa
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue