projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c0b0df
)
fix continue
author
Alan Knowles
<alan@roojs.com>
Fri, 28 Aug 2020 06:04:03 +0000
(14:04 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 28 Aug 2020 06:04:03 +0000
(14:04 +0800)
DataObjects/Cms_page.php
patch
|
blob
|
history
diff --git
a/DataObjects/Cms_page.php
b/DataObjects/Cms_page.php
index
f2c3184
..
33e2351
100644
(file)
--- a/
DataObjects/Cms_page.php
+++ b/
DataObjects/Cms_page.php
@@
-455,7
+455,7
@@
class Pman_Cms_DataObjects_Cms_page extends DB_DataObject
switch(true) {
case ($width === false && $height == false):
$a->setAttribute('src', $imap[$matches[1]]->URL(-1,'/Images'));
switch(true) {
case ($width === false && $height == false):
$a->setAttribute('src', $imap[$matches[1]]->URL(-1,'/Images'));
- continue;
+ continue
2
;
case ($width === false || $height === false):
// should result in Wx0 or 0xH ????
case ($width === false || $height === false):
// should result in Wx0 or 0xH ????
@@
-472,7
+472,7
@@
class Pman_Cms_DataObjects_Cms_page extends DB_DataObject
$a->setAttribute('src', $imap[$matches[1]]->URL("{$width}x{$height}",'/Images/Thumb'));
$a->setAttribute('src', $imap[$matches[1]]->URL("{$width}x{$height}",'/Images/Thumb'));
- continue;
+ continue
2
;
}
}