Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Using a class method as a function name in set_pref
Hi there,
There is probably an obvious way (that I don’t alredy know…) to use something like array($this, 'my_select_list')
where we used to see 'text_input'
or 'yesnoradio'
in the set_pref()
function…?
Right now I get this error: Warning “mysqli_real_escape_string() expects parameter 2 to be string, object given”.
Thanks!
Last edited by NicolasGraph (2016-07-25 07:37:15)
Offline