Author: benj
Date: Tue May 31 14:26:25 2016
New Revision: 1702
URL: http://svn.gna.org/viewcvs/gdtc?rev=1702&view=rev
Log:
Do not display errors in /my
Modified:
trunk/gdtc/include/errors.php
Modified: trunk/gdtc/include/errors.php
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/include/errors.php?rev=1702&r1=1701&r2=1702&view=diff
==============================================================================
--- trunk/gdtc/include/errors.php (original)
+++ trunk/gdtc/include/errors.php Tue May 31 14:26:25 2016
@@ -83,6 +83,7 @@
case E_USER_NOTICE:
case E_NOTICE:
if ( array_key_exists ('is_admin', $_SESSION )
+ && preg_match ( '/admin/', DTC_THEME )
&& !preg_match ( '/Undefined index/', $errstr )
)
{
_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits