]> git.mxchange.org Git - friendica.git/commitdiff
make smarty error reporting a bit less chatty
authorfriendica <info@friendica.com>
Sun, 30 Dec 2012 08:29:07 +0000 (00:29 -0800)
committerfriendica <info@friendica.com>
Sun, 30 Dec 2012 08:29:07 +0000 (00:29 -0800)
boot.php
include/text.php
util/messages.po

index 6ae763f7b0550b712475a78d492fef46614a694e..a9e5998055b4ed91323cf1b8a6a0914f1469b357 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -12,7 +12,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php');
 require_once('include/features.php');
 
 define ( 'FRIENDICA_PLATFORM',     'Friendica');
-define ( 'FRIENDICA_VERSION',      '3.1.1571' );
+define ( 'FRIENDICA_VERSION',      '3.1.1572' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.23'    );
 define ( 'DB_UPDATE_VERSION',      1157      );
 
index 628da1c1b2795ebd75b3eaff4c0b289271f8138e..1d74d9cf5c4bc19df856707acf6f30cd1bd0adc6 100644 (file)
@@ -23,6 +23,7 @@ function replace_macros($s,$r) {
                if(gettype($s) === 'string') {
                        $template = $s;
                        $s = new FriendicaSmarty();
+                       $s->error_reporting = E_ALL & ~E_NOTICE;
                }
                foreach($r as $key=>$value) {
                        if($key[0] === '$') {
index b78d967b68f32ce85de178c7bdec70de4b51bc05..a66a51973ca5f2d748e9b040318e33958738db71 100644 (file)
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: 3.1.1571\n"
+"Project-Id-Version: 3.1.1572\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-12-28 10:00-0800\n"
+"POT-Creation-Date: 2012-12-29 10:00-0800\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"