Browse Source

Fix the if statement

Mark Crane 11 years ago
parent
commit
363cd08149
1 changed files with 1 additions and 1 deletions
  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) {