From 433253999eb3eab34b929d7da3d307e5e913ae5c Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Thu, 6 Sep 2007 16:19:15 +0000 Subject: [PATCH] UNDO: remove html entity encoding from mceEditor on RequestController's update This fix was flawed --- application/controllers/RequestController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/application/controllers/RequestController.php b/application/controllers/RequestController.php index cc6f7109..4c8c3652 100755 --- a/application/controllers/RequestController.php +++ b/application/controllers/RequestController.php @@ -215,7 +215,6 @@ 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; } } } @@ -319,7 +318,6 @@ 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; } } -- GitLab