|
From: <var...@us...> - 2022-01-01 13:06:09
|
Revision: 10803
http://sourceforge.net/p/phpwiki/code/10803
Author: vargenau
Date: 2022-01-01 13:06:07 +0000 (Sat, 01 Jan 2022)
Log Message:
-----------
Add {}
Modified Paths:
--------------
trunk/lib/Template.php
Modified: trunk/lib/Template.php
===================================================================
--- trunk/lib/Template.php 2021-12-30 09:44:07 UTC (rev 10802)
+++ trunk/lib/Template.php 2022-01-01 13:06:07 UTC (rev 10803)
@@ -70,11 +70,13 @@
$this->_tmpl = fread($fp, filesize($file));
if ($fp) fclose($fp);
//$userid = $request->_user->_userid;
- if (is_array($args))
+ if (is_array($args)) {
$this->_locals = $args;
- elseif ($args)
- $this->_locals = array('CONTENT' => $args); else
+ } elseif ($args) {
+ $this->_locals = array('CONTENT' => $args);
+ } else {
$this->_locals = array();
+ }
}
private function _munge_input($template)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|