Index: temp/trunk/html/admin/design/index.php
===================================================================
--- temp/trunk/html/admin/design/index.php	(revision 1429)
+++ temp/trunk/html/admin/design/index.php	(revision 1430)
@@ -37,5 +37,5 @@
 $from  = ", dtb_blocposition AS pos";
 $where = " where ";
-if ($page_id === "") {
+if ($page_id !== "") {
 	$where .= " lay.page_id = ? AND ";
 	$arrData = array($page_id);
