mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Bugfix für nicht sichbaren Content
This commit is contained in:
@@ -496,6 +496,11 @@ class content extends basis_db
|
||||
*/
|
||||
public function hasChilds($content_id)
|
||||
{
|
||||
if($content_id=='' || !is_numeric($content_id))
|
||||
{
|
||||
$this->errormsg = 'ContentID ungueltig';
|
||||
return false;
|
||||
}
|
||||
$qry = "SELECT count(*) as anzahl FROM campus.tbl_contentchild WHERE content_id='".addslashes($content_id)."'";
|
||||
|
||||
if($result = $this->db_query($qry))
|
||||
|
||||
Reference in New Issue
Block a user