SF.net SVN: phpwiki:[10892] trunk/themes/default/templates/userprefs.tmpl

vargenau--- via phpwiki-checkins <[email protected]> Wed, 12 Jan 2022 17:09:08 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10892
          http://sourceforge.net/p/phpwiki/code/10892
Author:   vargenau
Date:     2022-01-12 17:09:08 +0000 (Wed, 12 Jan 2022)
Log Message:
-----------
themes/default/templates/userprefs.tmpl: only one variable left

Modified Paths:
--------------
    trunk/themes/default/templates/userprefs.tmpl

Modified: trunk/themes/default/templates/userprefs.tmpl
===================================================================
--- trunk/themes/default/templates/userprefs.tmpl	2022-01-12 17:08:23 UTC (rev 10891)
+++ trunk/themes/default/templates/userprefs.tmpl	2022-01-12 17:09:08 UTC (rev 10892)
@@ -1,9 +1,5 @@
 <?php
-// Todo: Move the logic and code to the plugin
-// This is very experimental and the read-only part an ugly hack so far.
-foreach (explode(',','errmsg') as $var) {
-    if (empty($$var)) $$var = false;
-}
+if (empty($errmsg)) $errmsg = '';
 
 $plugin = $request->getArg('pagename');
 $time = time();

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.