From 215a7f139caded94553fc84bafca847c7634b955 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 30 Dec 2012 00:29:07 -0800 Subject: [PATCH] make smarty error reporting a bit less chatty --- boot.php | 2 +- include/text.php | 1 + util/messages.po | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 6ae763f7b0..a9e5998055 100644 --- 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 ); diff --git a/include/text.php b/include/text.php index 628da1c1b2..1d74d9cf5c 100644 --- a/include/text.php +++ b/include/text.php @@ -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] === '$') { diff --git a/util/messages.po b/util/messages.po index b78d967b68..a66a51973c 100644 --- a/util/messages.po +++ b/util/messages.po @@ -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 \n" "Language-Team: LANGUAGE \n" -- 2.39.5