projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix image checking
[Pman.Core]
/
Images.php
diff --git
a/Images.php
b/Images.php
index
327fa8c
..
039ec02
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-468,10
+468,10
@@
class Pman_Core_Images extends Pman
{
$url = $dom;
if (!is_string($url)) {
{
$url = $dom;
if (!is_string($url)) {
- $url = $dom->getAttribute(
$src
);
+ $url = $dom->getAttribute(
'src'
);
}
$umatch = false;
}
$umatch = false;
- if(!preg_match('#/(Images|Images/Thumb/[a-z0-9]+|Images/Download)/([0-9]+)/(.*)$#', $
attr_
url, $umatch)) {
+ if(!preg_match('#/(Images|Images/Thumb/[a-z0-9]+|Images/Download)/([0-9]+)/(.*)$#', $url, $umatch)) {
return $url;
}
$id = $umatch[2];
return $url;
}
$id = $umatch[2];