> Now please remove the 34th line from controller/message/bulkrestore.php,
> then add the following line to model/message/restore.php right above
> "$zip = new ZipArchive();" and repeat the steps you did before:
> print "in download_files_as_zip():\n"; print_r($idlist); exit;
As a "Auditor" user"
idlist:
1463,1462,1461,1460,1459,1458,1457,1456,1455,1454,1453,1452,1451,1450,1449,1448,1447,1446,1445,1444
in download_files_as_zip():
Array
(
[0] => 400000005024c0f13acda084c1748bfb7d58
[1] => 400000005024c1e116b0a994cb10a08bb109
[2] => 400000005024c435308dc194d13d3e01507b
[3] => 400000005024c749163075447eb31c0ee688
[4] => 400000005024c9850e80e9dcc1b6f1ff69ac
[5] => 400000005024ce4b12047aec8d01e895d308
[6] => 400000005024d14c29d7d86c2e5d975e5efa
[7] => 400000005024d4f709a27034c1f770cd428f
[8] => 400000005024d6f205993c343b7f1fabb8ba
[9] => 400000005024d8d91a926804d5ea25373d85
)
As a "Regular User":
idlist:
1451,1433,1430,1429,1427,1426,1421,1417,1416,1415,1413,1411,1408,1407,1406,1405,1401,1396,1391,1388
in download_files_as_zip():
Array
(
[0] => 4000000050247f1a2c9aa5d48b6726bb9c02
[1] => 4000000050247fb40452a2d453ea108301aa
[2] => 400000005024843e1bd4cb4447c1b2cc1d2d
[3] => 400000005024878a246ab3541ae899db3723
[4] => 400000005024896a267d14ac06302ee27c95
[5] => 4000000050248b131ee5d404b4182dfd8ff3
[6] => 4000000050248b4937c3797c76f610a14b18
[7] => 4000000050248b4a09e3f98c742e2c65fd3d
[8] => 40000000502490353755b0040647ecccbcc0
[9] => 400000005024959a0d3b6da420ded6f52c21
[10] => 400000005024973e12eb8b44e0e975098827
[11] => 400000005024995a2ae3e5840a595983a2bc
[12] => 40000000502499d1128622542c02d4a13494
[13] => 4000000050249cde3af71d9cbdb422ee74c0
[14] => 400000005024a3e63814683c67873f2d03ec
[15] => 400000005024a42201edf71483bd8ccd8254
[16] => 400000005024a4f71aa1cd6cf071e2c0cded
[17] => 400000005024a76b080a384ce986011387e0
[18] => 400000005024ac913779782c220850b58364
[19] => 400000005024c749163075447eb31c0ee688
)
Cheers, John