Changeset 413:9128e2f6085b for inc/public
- Timestamp:
- 06/24/11 15:25:24 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r407 r413 1002 1002 1003 1003 if (!empty($if)) { 1004 return '<?php if('.implode(' '.$operator.' ', $if).') : ?>'.$content.'<?php endif; ?>';1004 return '<?php if('.implode(' '.$operator.' ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 1005 1005 } else { 1006 1006 return $content; … … 1356 1356 1357 1357 if (!empty($if)) { 1358 return '<?php if('.implode(' '.$operator.' ', (array)$if).') : ?>'.$content.'<?php endif; ?>';1358 return '<?php if('.implode(' '.$operator.' ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 1359 1359 } else { 1360 1360 return $content; … … 2009 2009 2010 2010 if (!empty($if)) { 2011 return '<?php if('.implode(' && ', $if).') : ?>'.$content.'<?php endif; ?>';2011 return '<?php if('.implode(' && ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 2012 2012 } else { 2013 2013 return $content; … … 2284 2284 2285 2285 if (!empty($if)) { 2286 return '<?php if('.implode(' && ', $if).') : ?>'.$content.'<?php endif; ?>';2286 return '<?php if('.implode(' && ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 2287 2287 } else { 2288 2288 return $content; … … 2862 2862 2863 2863 if (!empty($if)) { 2864 return '<?php if('.implode(' '.$operator.' ', $if).') : ?>'.$content.'<?php endif; ?>';2864 return '<?php if('.implode(' '.$operator.' ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 2865 2865 } else { 2866 2866 return $content;
Note: See TracChangeset
for help on using the changeset viewer.