| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Joomla
Revision: 10345
Author: plamendp
Date: 28 May 2008 14:47:29
Changes:# Fixed [#11261] Undefined variable: rows in /administrator/components/com_cache/cache.class.php on line 114
Some class constant (Ex. JPagination::SELECT_ALL = "-1") should be introduced to denote selecting ALL from SELECT tags.
Files:| ... | ...@@ -104,9 +104,10 @@ | |
| 104 | 104 | return null; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | $rows = null; | |
| 107 | 108 | foreach ($this->_items as $item) |
| 108 | 109 | { |
| 109 | if ($i >= $start && $i < $start+$limit) { | |
| 110 | if ( (($i >= $start) && ($i < $start+$limit)) || ($limit == 0) ) { | |
| 110 | 111 | $rows[] = $item; |
| 111 | 112 | } |
| 112 | 113 | $i++; |