Plugin Directory

Changeset 1808659


Ignore:
Timestamp:
01/24/2018 02:39:37 PM (8 years ago)
Author:
livehelpnow
Message:

Fix php 5.4 call_user_func error causing 500

Location:
livehelpnow-helpdesk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • livehelpnow-helpdesk/trunk/src/class/HooksActivator.php

    r1806916 r1808659  
    5656                    $callback = array( $object, $method->getName() );
    5757
    58                     call_user_func( array( $this, "add_{$type}" ), $name, $callback, compact( 'priority', 'arg_count' ) );
     58                    $this->{"add_{$type}"}( $name, $callback, compact( 'priority', 'arg_count' ) );
    5959
    6060                }
Note: See TracChangeset for help on using the changeset viewer.