projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de3e4d
)
Images.php
author
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 09:38:05 +0000
(17:38 +0800)
committer
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 09:38:05 +0000
(17:38 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
634c0da
..
65266fc
100644
(file)
--- 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])) {