projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df6413
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:21:52 +0000
(10:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:21:52 +0000
(10:21 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
e3f117f
..
17bf75e
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-243,7
+243,7
@@
class Pman_Core_Images extends Pman
}
$id = $umatch[2];
$img = DB_DataObject::factory('Images');
- if (!$img
Obj
->get($id)) {
+ if (!$img->get($id)) {
return $html;
}
$type = explode('/', $umatch[1]);
@@
-289,7
+289,7
@@
class Pman_Core_Images extends Pman
$new_tag = str_replace(
'src="'. $attr['src'] . '"',
- 'src="'. htmlspecialchars($img
Obj
->URL($new_thumbsize , $provider, $baseURL)) . '"',
+ 'src="'. htmlspecialchars($img->URL($new_thumbsize , $provider, $baseURL)) . '"',
$tag
);