-
-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
Milestone
Description
From r.wetzlmayr on October 17, 2010 11:46:40
fetch_category_title() accepts anything for $type, even an empty string ( https://code.google.com/p/textpattern/source/browse/releases/4.2.0/source/textpattern/lib/txplib_misc.php#1628 ).
We could have caught [ r3429 ] earlier if fetch_category_title() was less forgiving.
Might use either a constant array of valid types or a set from the txp_category table.
Original issue: http://code.google.com/p/textpattern/issues/detail?id=82