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

UNDO: remove html entity encoding from mceEditor on RequestController's update

This fix was flawed
parent 7173f104
Branches
Tags
No related merge requests found
...@@ -215,7 +215,6 @@ class RequestController extends Nmc_Controller_Action ...@@ -215,7 +215,6 @@ class RequestController extends Nmc_Controller_Action
foreach($_POST['request'] as $key => $val) { foreach($_POST['request'] as $key => $val) {
if(!is_array($val) && $val != '') { if(!is_array($val) && $val != '') {
//echo '$request->' . $key . ' = ' . $val . "<br />\n"; //echo '$request->' . $key . ' = ' . $val . "<br />\n";
$val = html_entity_decode($val);
$request->$key = $val; $request->$key = $val;
} }
} } } }
...@@ -319,7 +318,6 @@ class RequestController extends Nmc_Controller_Action ...@@ -319,7 +318,6 @@ class RequestController extends Nmc_Controller_Action
foreach($_POST as $key => $val) { foreach($_POST as $key => $val) {
if(!is_array($val) && $key != 'courseId' /*&& $val != ''*/) { if(!is_array($val) && $key != 'courseId' /*&& $val != ''*/) {
//echo '$course->' . $key . ' = ' . $val . "<br />\n"; //echo '$course->' . $key . ' = ' . $val . "<br />\n";
$val = html_entity_decode($val);
$course->$key = $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