From: Edward Date: Thu, 13 Mar 2014 09:38:05 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=1e24fecefad521e2ece40c037c541915d3c3ad72;p=Pman.Core Images.php --- diff --git a/Images.php b/Images.php index 634c0dab..65266fc8 100644 --- a/Images.php +++ b/Images.php @@ -119,7 +119,7 @@ class Pman_Core_Images extends Pman $id = empty($bits[0]) ? 0 : $bits[0]; } - print_r($id);exit; + if (strpos($id,':') > 0) { // id format tablename:id:-imgtype $onbits = explode(':', $id); if ((count($onbits) < 2) || empty($onbits[1]) || !is_numeric($onbits[1]) || !strlen($onbits[0])) {