Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

custom module field form is replacing < for < when save the row

edited January 2016 in Bug Reports
Hi i have some behavior that i don't know if is it correct, because the < is replaced by &lt ; and i don't want that this symbol be replaced when save the row.

Question: how can i avoid this replace?

thanks in advance.

Comments

  • edited 5:31PM
    There is a property on the model called auto_encode_entities (inherited from MY_Model) which can be set to either FALSE or an array of fields that you want it performed on. The default is TRUE which will apply it to all fields:
    public $auto_encode_entities = FALSE;
  • edited 5:31PM
    thanks admin it works well...
Sign In or Register to comment.