Skip to content

Commit

Permalink
Fix array_unique() call (we are comparing objects, so don't want stri…
Browse files Browse the repository at this point in the history
…ng comparison)
  • Loading branch information
slusarz committed Oct 2, 2013
1 parent 7a3538a commit b081c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Ajax/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function add(IMP_Ajax_Application $ajax)

/* Add flag information. */
if (!empty($this->_flag)) {
$ajax->addTask('flag', array_unique($this->_flag));
$ajax->addTask('flag', array_unique($this->_flag, SORT_REGULAR));
$this->_flag = array();
}

Expand Down

0 comments on commit b081c68

Please sign in to comment.