Browse Source

Merge pull request #93 from scombat/patch-1

Update array clearing for php compatibilities
develop
Emre Akay 10 years ago
parent
commit
87e70afbba
  1. 4
      application/libraries/Aauth.php

4
application/libraries/Aauth.php

@ -1921,7 +1921,7 @@ class Aauth {
*/
public function clear_errors()
{
$this->errors = [];
$this->errors = array();
$this->CI->session->set_flashdata('errors', $this->errors);
}
@ -2011,7 +2011,7 @@ class Aauth {
*/
public function clear_infos()
{
$this->infos = [];
$this->infos = array();
$this->CI->session->set_flashdata('infos', $this->infos);
}

Loading…
Cancel
Save