Explorar o código

Fix the if statement

Mark Crane %!s(int64=11) %!d(string=hai) anos
pai
achega
ade21c5efb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/pdo.php

+ 1 - 1
resources/pdo.php

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