Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-07-25 07:36:01

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

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)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

Board footer

Powered by FluxBB