View Single Post
  #20  
Old 06-15-2017, 03:15 PM
 
mattstyle2 mattstyle2 is offline
 

Advanced Member
  
Join Date: Apr 2015
Posts: 54
 

Default Re: Smart Search and PHP7

is 793 this line:
$dirs[] = array_merge($file, $this->dirstats($filename));

if so go up to the top of the function and set $adv=false; so it doesn't execute the 'this->' statement..

up at 755 is the function declaration
Code:
function checkout_listfiles_nr($dir, $dirs_only=false, $adv=false){ $adv=false; $dirs = $files = array();
-- see what I did there? put the $adv=false; statement under the function declaration.

let me know if that helps.

regards,

Matt
Reply With Quote