Changeset 2320
- Timestamp:
- 12/19/10 13:01:16 (17 months ago)
- Files:
-
- 1 modified
-
branches/1.5/libs/PageHandling.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/libs/PageHandling.php
r2319 r2320 350 350 351 351 // if we're using categories and the category is not "all"... 352 if ( $h->isActive('categories') && $h->post->category > 1) {352 if (isset($h->vars['category']) && $h->post->category > 1) { 353 353 $url .= $h->vars['category']->getCatSafeName($h, $h->post->category).'/'; 354 354 } 355 355 356 356 $url .= $value.'/'; 357 } elseif ($key == 'category' && is_numeric($value) ) {357 } elseif ($key == 'category' && is_numeric($value) && isset($h->vars['category'])) { 358 358 359 359 $url .= $key.'/'.$h->vars['category']->getCatSafeName($h, $value).'/';