]> git.mxchange.org Git - friendica.git/commitdiff
parent eval order issue
authorFriendika <info@friendika.com>
Fri, 9 Sep 2011 03:00:06 +0000 (20:00 -0700)
committerFriendika <info@friendika.com>
Fri, 9 Sep 2011 03:00:06 +0000 (20:00 -0700)
boot.php
mod/wall_attach.php

index 5563901fb79f338e2628bcdf4938e0009e3ddda9..e403dfc8e6004755de6cba49478453c343d9611d 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -7,7 +7,7 @@ require_once('include/text.php');
 require_once("include/pgettext.php");
 
 
-define ( 'FRIENDIKA_VERSION',      '2.2.1096' );
+define ( 'FRIENDIKA_VERSION',      '2.2.1097' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
 define ( 'DB_UPDATE_VERSION',      1087      );
 
index ef6554df39809118c13f1329296726cd9d8842ed..a66ed0d059c6d36970d0f77ff2796541e68a301a 100644 (file)
@@ -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();