zelon88 / HRCloud2

A full-featured home hosted Cloud Drive, Personal Assistant, App Launcher, File Converter, Streamer, Share Tool & More!
https://www.HonestRepair.net
GNU General Public License v3.0
209 stars 44 forks source link

Can only Share / Unshare one file at a time! #7

Closed zelon88 closed 7 years ago

zelon88 commented 7 years ago

It appears threre are some issues with the foreach loops in-use within the Share & Unshare operations located in cloudCore.php.

Currently a user (or admin) can only select one file to Share or Unshare per operation. If multiple files are selected, only the first one (top-most item in Cloud Drive) will be copied.

I am working to find out what is causing this so I can make it better.

zelon88 commented 7 years ago

Fixed! In v0.9.8.7 commit 6cb4452d68a94a3e05acd7fb5c09365905806ba2

It turns out there was a die() smack-dab in the middle of a foreach that was killing cloudCore before it could iterate to the next file.

die() no more!