From 18157769f0142dd1d505497ccdf7a8ea2643d6d1 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 8 Sep 2011 20:00:06 -0700 Subject: parent eval order issue --- mod/wall_attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/wall_attach.php b/mod/wall_attach.php index ef6554df3..a66ed0d05 100644 --- a/mod/wall_attach.php +++ b/mod/wall_attach.php @@ -61,7 +61,7 @@ function wall_attach_post(&$a) { $filedata = @file_get_contents($src); $mimetype = z_mime_content_type($filename); - if((! strlen($mimetype)) || ($mimetype === 'application/octet-stream') && function_exists('mime_content_type')) + if(((! strlen($mimetype)) || ($mimetype === 'application/octet-stream')) && function_exists('mime_content_type')) $mimetype = mime_content_type($filename); $hash = random_string(); $created = datetime_convert(); -- cgit v1.2.3