Index: class.dc.meta.php
===================================================================
--- class.dc.meta.php	(revision 3180)
+++ class.dc.meta.php	(working copy)
@@ -589,6 +589,8 @@
 		
 		$rs = $this->con->select($strReq);
 		
+		if ($rs->isEmpty()) return array();
+		
 		$ids = array();
 		while ($rs->fetch()) {
 			$ids[] = $rs->post_id;
