Paul Nicholls
a0dc7da9b4
MDL-29835: filemanager - zero means zero, not unlimited
...
The form_filemanager constructor was using empty() rather than !isset(),
so overwrote maxfiles=0 with the default (-1). In addition, the JS UI
treated 0 as unlimited - but the non-JS fallback UI treated it as zero.
This would result in a file manager which allowed files to be
chosen/uploaded, which would then vanish into the void when the backend
saw that the maximum number of files was 0.
2013-01-08 15:12:50 +13:00
..
2012-08-22 10:13:52 +08:00
2012-11-05 16:38:45 +08:00
2012-07-24 15:09:39 +08:00
2012-07-24 15:09:39 +08:00
2012-02-21 12:39:35 +13:00
2012-07-24 15:09:39 +08:00
2012-05-07 15:23:45 +08:00
2012-05-07 15:23:45 +08:00
2013-01-08 15:12:50 +13:00
2012-08-22 03:25:40 +02:00
2012-11-01 16:47:06 +08:00
2012-12-15 11:46:46 +01:00
2013-01-08 15:12:50 +13:00
2012-07-20 10:49:30 +08:00
2012-07-27 10:10:46 +08:00
2012-08-13 11:13:06 +01:00
2012-07-24 15:09:39 +08:00
2012-07-24 15:09:39 +08:00
2012-07-24 15:09:39 +08:00
2012-07-25 14:18:53 +08:00
2012-07-24 15:09:39 +08:00
2012-02-15 12:55:06 +08:00
2012-02-15 12:55:06 +08:00
2012-07-24 16:57:58 +08:00
2012-07-21 19:23:44 +02:00
2012-02-15 12:55:06 +08:00
2012-07-24 15:09:39 +08:00
2012-07-24 15:09:39 +08:00
2012-08-11 20:40:07 +02:00
2012-08-11 20:40:07 +02:00
2012-07-24 15:09:39 +08:00
2012-07-24 15:09:39 +08:00
2012-07-24 15:09:39 +08:00
2012-02-15 12:55:06 +08:00
2012-07-24 15:09:39 +08:00
2012-06-25 10:18:42 +08:00
2012-02-15 12:55:06 +08:00
2012-07-27 10:10:46 +08:00
2012-10-15 14:01:46 +08:00
2012-07-24 15:09:39 +08:00
2012-07-27 10:10:46 +08:00
2012-07-24 15:09:39 +08:00