Changeset 13000 for trunk/categories.php
- Timestamp:
- 10/21/09 05:49:14 (3 years ago)
- File:
-
- 1 edited
-
trunk/categories.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/categories.php
r12665 r13000 191 191 function getBlockCode_Calendar($iBlockId) 192 192 { 193 $sYear = isset($_REQUEST['year']) ? $_REQUEST['year'] : '';194 $sMonth = isset($_REQUEST['month']) ? $_REQUEST['month'] : '';193 $sYear = isset($_REQUEST['year']) ? (int)$_REQUEST['year'] : ''; 194 $sMonth = isset($_REQUEST['month']) ? (int)$_REQUEST['month'] : ''; 195 195 $oCalendar = new CategoriesCalendar($sYear, $sMonth); 196 196 … … 205 205 'pagination' => getParam('categ_perpage_browse'), 206 206 'date' => array( 207 'year' => $_REQUEST['year'],208 'month' => $_REQUEST['month'],209 'day' => $_REQUEST['day']207 'year' => (int)$_REQUEST['year'], 208 'month' => (int)$_REQUEST['month'], 209 'day' => (int)$_REQUEST['day'] 210 210 ) 211 211 );
Note: See TracChangeset
for help on using the changeset viewer.