From 22b8041c7a05807a628a169abf2e153ee9b86c8a Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 30 Aug 2004 08:16:55 +0000 Subject: [PATCH] Missing dollar sign. git-svn-id: http://svn.automattic.com/wordpress/trunk@1576 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/upload.php b/wp-admin/upload.php index ba59b6c70..e7025bda0 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -171,7 +171,7 @@ die(); $moved = copy($img1, $pathtofile); } // Still couldn't get it. Give up. - if (!moved) { + if (!$moved) { die(sprintf(__("Couldn't upload your file to %s."), $pathtofile)); } else { chmod($pathtofile, 0666);