From 16df65cf353bd66f09c07d98c316508bbffab9d6 Mon Sep 17 00:00:00 2001 From: shish Date: Thu, 19 Jul 2007 22:18:50 +0000 Subject: [PATCH] assign the file pointer to something git-svn-id: file:///home/shish/svn/shimmie2/trunk@341 7f39781d-f577-437e-ae19-be835c7a54ca --- ext/upload/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/upload/main.php b/ext/upload/main.php index 696ddaa1..056c002d 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -124,7 +124,7 @@ class Upload extends Extension { // PHP falls back to system default if /tmp fails, can't we just // use the system default to start with? :-/ - fopen($tmp_filename, "w"); + $fp = fopen($tmp_filename, "w"); fwrite($fp, $data); fclose($fp); }