Skip to content

Commit 7b28d10

Browse files
committed
fixed #11
1 parent 55e6197 commit 7b28d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php-hooks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* This class is heavily based on the WordPress plugin API and most (if not all) of the code comes from there.
99
*
1010
*
11-
* @version 0.1.2
11+
* @version 0.1.3
1212
* @copyright 2012 - 2014
1313
* @author Ohad Raz (email: admin@bainternet.info)
1414
* @link http://en.bainternet.info
@@ -527,7 +527,7 @@ private function _filter_build_unique_id($tag, $function, $priority) {
527527
if ( !isset($function[0]->filter_id) ) {
528528
if ( false === $priority )
529529
return false;
530-
$obj_idx .= isset($this->filters[$tag][$priority]) ? count((array)$$this->filters[$tag][$priority]) : $filter_id_count;
530+
$obj_idx .= isset($this->filters[$tag][$priority]) ? count((array)$this->filters[$tag][$priority]) : $filter_id_count;
531531
$function[0]->filter_id = $filter_id_count;
532532
++$filter_id_count;
533533
} else {

0 commit comments

Comments
 (0)