diff options
author | davef <davefd2@users.sourceforge.net> | 2005-05-06 22:16:10 +0000 |
---|---|---|
committer | davef <davefd2@users.sourceforge.net> | 2005-05-06 22:16:10 +0000 |
commit | 476cf53e93eacf51411212b957040bd2d096561d (patch) | |
tree | 6854d3d618c09086fe0b17d946e3eaf891f15f73 /admin/index.php | |
parent | 8c9fa31ab014070c603ca899ec489b5c85cf8bc8 (diff) | |
download | phpicalendar-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/index.php')
-rw-r--r-- | admin/index.php | 2 |
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])) { |