Skip to content
Snippets Groups Projects
Commit be48025b authored by Tim Steiner's avatar Tim Steiner
Browse files

remove html entity encoding from mceEditor on RequestController's update

parent 94380b8c
Branches
Tags
No related merge requests found
......@@ -215,6 +215,7 @@ class RequestController extends Nmc_Controller_Action
foreach($_POST['request'] as $key => $val) {
if(!is_array($val) && $val != '') {
//echo '$request->' . $key . ' = ' . $val . "<br />\n";
$val = html_entity_decode($val);
$request->$key = $val;
}
} }
......@@ -318,6 +319,7 @@ class RequestController extends Nmc_Controller_Action
foreach($_POST as $key => $val) {
if(!is_array($val) && $key != 'courseId' /*&& $val != ''*/) {
//echo '$course->' . $key . ' = ' . $val . "<br />\n";
$val = html_entity_decode($val);
$course->$key = $val;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment