summaryrefslogtreecommitdiffstats
path: root/code/util.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/util.inc.php')
-rw-r--r--code/util.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/util.inc.php b/code/util.inc.php
index 4b498e7..3ee2489 100644
--- a/code/util.inc.php
+++ b/code/util.inc.php
@@ -1,6 +1,6 @@
<?PHP
function Subst($string, $subst = array()) {
- $tr['$$'] = '$';
+ $tr = array('$$' => '$');
foreach($subst as $key => $value)
$tr['$' . $key] = $value;