From 73ccfcb964771f4bd540838c32791a1d49e29d5f Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 11 Sep 2005 16:21:26 +0200 Subject: io_download mod to allow use of attachment names, plugin manager fix to use new io_download darcs-hash:20050911142126-50fdc-dd1b45c40b33153c3ea993ec53c11d063c34154c.gz --- lib/plugins/plugin/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/plugin') diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php index 091d41698..e22a8a4b8 100644 --- a/lib/plugins/plugin/admin.php +++ b/lib/plugins/plugin/admin.php @@ -275,7 +275,7 @@ class ap_manage { return false; } - if (!io_download($url, "$tmp/$file")) { + if (!$file = io_download($url, "$tmp/", true, $file)) { $this->manager->error = sprintf($this->lang['error_download'],$url)."\n"; } -- cgit v1.2.3