$img = DB_DataObjecT::factory('Images');
if (!$id || !$img->get($id)) {
- $this->imgErr("image has been removed or deleted.",$s);
+ $this->imgErr("image has been removed or deleted.",$s);
}
- print_R($this->authUser);exit;
+
if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) {
if ($img->ontable != 'core_company') {