add return value
This commit is contained in:
parent
43ec7f74ac
commit
aaab80640c
|
@ -227,5 +227,6 @@ class Archive
|
||||||
if (!empty($code)) $sql.=" where c.code='".$code."'";
|
if (!empty($code)) $sql.=" where c.code='".$code."'";
|
||||||
$rs=$this->db->query($sql);
|
$rs=$this->db->query($sql);
|
||||||
$rows=$rs->fetchAll();
|
$rows=$rs->fetchAll();
|
||||||
|
return $rows;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue