Fix insertion of simplehtml, html, and nl2br data types

develop
Sven Slootweg 11 years ago
parent 2680c4538c
commit bfadf150b4

@ -395,6 +395,9 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass
case "boolean":
case "timestamp":
case "string":
case "simplehtml":
case "html":
case "nl2br":
$element_list[$element_value] = array(
'key' => $element_key,
'type' => $type_key
@ -448,6 +451,9 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass
}
break;
case "string":
case "simplehtml":
case "html":
case "nl2br":
$uFinalValue = (isset($this->$variable_name_unsafe)) ? $this->$variable_name_unsafe : $this->$variable_name_safe;
break;
case "default":

Loading…
Cancel
Save