Skip to content

Commit

Permalink
is_callable(), not is_callback()
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jul 23, 2014
1 parent 81953bb commit a5dcccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Imap_Client/lib/Horde/Imap/Client/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -4434,7 +4434,7 @@ protected function _getLine(
if ($server instanceof Horde_Imap_Client_Interaction_Server_Tagged) {
/* Check for a on_error callback. */
if (($cmd = $pipeline->getCmd($server->tag)) &&
is_callback($cmd->on_error)) {
is_callable($cmd->on_error)) {
call_user_func($cmd->on_error);
}

Expand Down

0 comments on commit a5dcccc

Please sign in to comment.