aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authordavef <davefd2@users.sourceforge.net>2005-05-06 22:16:10 +0000
committerdavef <davefd2@users.sourceforge.net>2005-05-06 22:16:10 +0000
commit476cf53e93eacf51411212b957040bd2d096561d (patch)
tree6854d3d618c09086fe0b17d946e3eaf891f15f73 /admin
parent8c9fa31ab014070c603ca899ec489b5c85cf8bc8 (diff)
downloadphpicalendar-476cf53e93eacf51411212b957040bd2d096561d.tar.gz
phpicalendar-476cf53e93eacf51411212b957040bd2d096561d.tar.bz2
phpicalendar-476cf53e93eacf51411212b957040bd2d096561d.zip
SF Patch #1059866 - fixed support for PHP5 w/ the admin interface. Also fixed a comment that referenced the old name.
Diffstat (limited to 'admin')
-rw-r--r--admin/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/index.php b/admin/index.php
index b2775e8..c4f60bb 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -66,7 +66,7 @@ if ($_POST['action'] == 'delete') {
$addupdate_msg = '';
if ((isset($_POST['action'])) && ($_POST['action'] == 'addupdate')) {
for ($filenumber = 1; $filenumber < 6; $filenumber++) {
- $file = $HTTP_POST_FILES['calfile'];
+ $file = $_FILES['calfile'];
$addupdate_success = FALSE;
if (!is_uploaded_file_v4($file['tmp_name'][$filenumber])) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy