Plugin Directory

Changeset 2029058


Ignore:
Timestamp:
02/12/2019 09:44:51 AM (7 years ago)
Author:
vashkatsi
Message:

fix phpQuery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbq/tags/1.4.4/includes/parser/phpQuery/phpQuery.php

    r1961346 r2029058  
    3333abstract class phpQuery {
    3434    /**
    35      * XXX: Workaround for mbstring problems 
    36      * 
     35     * XXX: Workaround for mbstring problems
     36     *
    3737     * @var bool
    3838     */
     
    13221322 * @package phpQuery
    13231323 */
    1324 function pq($arg1, $context = null) {
    1325     $args = func_get_args();
    1326     return call_user_func_array(
    1327         array('phpQuery', 'pq'),
    1328         $args
    1329     );
     1324if(!function_exists('pq')) {
     1325    function pq($arg1, $context = null)
     1326    {
     1327        $args = func_get_args();
     1328
     1329        return call_user_func_array(
     1330            ['phpQuery', 'pq'],
     1331            $args
     1332        );
     1333    }
    13301334}
    13311335// add plugins dir and Zend framework to include path
Note: See TracChangeset for help on using the changeset viewer.