• Resolved michaelzeiler

    (@michaelzeiler)


    But every time I include the directories=anything parameter, I get “error on line 180. asort expects variable 1 to be an array in ../includes/fileaway.php”. I’m not sure why I’m getting this. The line itself is just an asort command against the $rawnames variable. Since everything otherwise looks fine and is functioning perfectly, would you consider changing line 180 to read,

    if(is_array($rawnames)): asort($rawnames); endif;

    I’ve manually made this change. But as I update, I have to re-edit the file.

    https://ww.wp.xz.cn/plugins/file-away/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change consideration’ is closed to new replies.