浏览代码

Fix the if statement

Mark Crane 11 年之前
父节点
当前提交
363cd08149
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {