diff --git a/upload/modules/statics.php b/upload/modules/statics.php index 03298a3..82ef6a8 100644 --- a/upload/modules/statics.php +++ b/upload/modules/statics.php @@ -32,11 +32,11 @@ LEFT JOIN `mcr_users` AS `u` ON `u`.id=`s`.uid WHERE `s`.`uniq`='$uniq'"); - if(!$query || $this->db->num_rows($query)<=0){ $this->core->notify($this->core->lng['403'], $this->lng['e_403']); } + if(!$query || $this->db->num_rows($query)<=0){ $this->core->notify($this->core->lng['403'], $this->core->lng['e_403']); } $ar = $this->db->fetch_assoc($query); - if(!$this->core->is_access($ar['permissions'])){ $this->core->notify($this->core->lng['403'], $this->lng['e_403']); } + if(!$this->core->is_access($ar['permissions'])){ $this->core->notify($this->core->lng['403'], $this->core->lng['e_403']); } $uniq = $this->db->HSC($uniq); $title = $this->db->HSC($ar['title']);