You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Folder delete asks twice, and the second confirmation posts the delete to the Companies module #432
Found on the dev-6.0.0 branch (local, at 9bd3a1e0) during the lib/ cleanup. It may be on master too: the same code is there.
delIt() in modules/files/addedit_folder.php (L63–79) has two independent confirm() blocks:
"Delete Folder" → sets del=1 and submits folderFrm (the normal path).
A second "Delete Folder?" → posts dosql=do_folder_aed&del=1 to ?m=companies and then redirects to Companies.
Clicking OK on the first starts a submit, then the second prompt appears. Cancelling the first still offers the second, which sends the delete to the wrong module.
Fix: keep only the first block. Related: #410 (other problems on the same page).
Activity
Folder delete: ask once and delete through the Files module