projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06a05b
)
DataObjects/Images.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 04:09:05 +0000
(12:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 04:09:05 +0000
(12:09 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
7c7745e
..
bf700ec
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-486,9
+486,9
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
}
// create it?
$extra = '';
- if (strlen($this->title) {
- $extra = ' title="'. htmlspecialchars($this->title) . '"'
- }
)
+ if (strlen($this->title)
)
{
+ $extra = ' title="'. htmlspecialchars($this->title) . '"'
;
+ }
return '<img src="' . $this->URL($size, $provider) .
$extra .