add stripslashes to storyline editor rename checking

This commit is contained in:
John Bintz 2010-04-10 08:44:26 -04:00
parent 6d49fbc513
commit cc8bbde859

View File

@ -27,6 +27,7 @@ function cpm_action_build_storyline_schema() {
}
foreach ($_POST as $field => $value) {
$value = stripslashes($value);
$parts = explode("/", $field);
if (($parts[0] == "0") && (count($parts) > 1)) {
$category_id = end($parts);