strip_tags expects parameter 1 to be string

  • Posts: 2639
  • Thank you received: 66
  • Hikashop Business
12 years 7 months ago #47879

dans administrator/index.php?option=com_hikashop&ctrl=order&task=edit&cid[]=5392 > Information additionnelle > case a cocher
si j'edite et que je coche oui j'ai l'erreur :



la ligne c'est $element->$column = strip_tags($value);

#__hikashop_field :
field_table = order
field_type = checkbox
field_value = 1::oui::0
field_default =

merci

Attachments:
Last edit: 12 years 7 months ago by erickb.

Please Log in or Create an account to join the conversation.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
12 years 7 months ago #47886

Il faut rajouter le code:
if(is_array($value)){
$value = implode(',',$value);
}

avant cette ligne dans ce fichier pour éviter cela.

Please Log in or Create an account to join the conversation.

  • Posts: 2639
  • Thank you received: 66
  • Hikashop Business
12 years 7 months ago #47896

ca sera corrige dans la 1.5.8 ?

je le rajoute

merci

Please Log in or Create an account to join the conversation.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
12 years 7 months ago #47897

oui biensur

Please Log in or Create an account to join the conversation.

  • Posts: 2639
  • Thank you received: 66
  • Hikashop Business
12 years 7 months ago #47898

ca marche

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum