aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_attach.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-08 20:00:06 -0700
committerFriendika <info@friendika.com>2011-09-08 20:00:06 -0700
commit18157769f0142dd1d505497ccdf7a8ea2643d6d1 (patch)
treefd1ccada960b39ed3e1cd31830b2d9cb251814ae /mod/wall_attach.php
parentfdd372a7988733586b86cac25ba5a521a9f3055e (diff)
downloadvolse-hubzilla-18157769f0142dd1d505497ccdf7a8ea2643d6d1.tar.gz
volse-hubzilla-18157769f0142dd1d505497ccdf7a8ea2643d6d1.tar.bz2
volse-hubzilla-18157769f0142dd1d505497ccdf7a8ea2643d6d1.zip
parent eval order issue
Diffstat (limited to 'mod/wall_attach.php')
-rw-r--r--mod/wall_attach.php2
1 files changed, 1 insertions, 1 deletions
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();