Search found 1 match

Page 1 of 1

Search found 1 match

display errors

Hello, i want to display errors. In PrestaShop I can display the errors with the function Tools::displayError() like this: if (empty($email)) { $this->errors[] = Tools::displayError('Email is empty.'); $this->doLog('ERROR: Email/username is empty'); } elseif (!Validate::isEmail($email)) { $this->err...

Jump to post
  • Tue Apr 11, 2017 4:48 pm
  • Replies 1
  • Views 7104

Page 1 of 1

Search found 1 match