Setting a checkbox custom field value

I have a custom field which, when I tick the checkbox on the thread manually, appears in the xf_thread_field_value table with
field_idis_imported
field_valuea:1:{s:8:"imported";s:8:"imported";}

If I set the value of this custom field in code using
Code:

'is_imported' => 'a:1:{s:8:"imported";s:8:"imported";}',
however, i end up with an entry in the db that looks exactly the same to me but the...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ