This commit is contained in:
Karl Burkhart
2011-06-10 12:36:17 +00:00
parent af27cba33e
commit 2221b079ed
+5 -6
View File
@@ -395,13 +395,12 @@ class dms extends basis_db
WHERE dms_id = '".addslashes($id)."' and
version > '".addslashes($version)."' ;";
if($this->db_query($qry))
if($result = $this->db_query($qry))
{
if($row = $this->db_fetch_object())
{
return true;
}
return false;
if($this->db_num_rows($result)>0)
return true;
else
return false;
}
else
{