Fix the if statement
This commit is contained in:
+1
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user