did not throw an error on non-existent category; thanks to pierovdfn for reporting
This commit is contained in:
parent
5b5a46eeb0
commit
925eeb979a
@ -169,6 +169,7 @@ class Plugin_PrettyURLs {
|
||||
if (PRETTYURLS_TITLES) {
|
||||
if ($c = array_search($matches[1], $this->categories))
|
||||
$this->fp_params['cat'] = $c;
|
||||
else return $matches[0];
|
||||
} else {
|
||||
$this->fp_params['cat'] = $matches[1];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user