• 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://wordpress.org/plugins/file-away/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author thomstark

    (@thomstark)

    Sure thing. Thanks. I’ll include this in the next update.

    Plugin Author thomstark

    (@thomstark)

    This change has been made permanent as of 2.0, which is now up, and also includes a new front-end file upload feature. Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change consideration’ is closed to new replies.