aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-05 09:30:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-05 09:30:46 +0000
commite86c24a4198a94d28af9455e43865874fe998eb2 (patch)
treec82b30db5ffa555ee2e7cd2510b2896dc5d3d130 /phpBB/includes/functions_messenger.php
parent3a8c3971da12623aeb86c67c34fe0b962d672ad9 (diff)
downloadforums-e86c24a4198a94d28af9455e43865874fe998eb2.tar
forums-e86c24a4198a94d28af9455e43865874fe998eb2.tar.gz
forums-e86c24a4198a94d28af9455e43865874fe998eb2.tar.bz2
forums-e86c24a4198a94d28af9455e43865874fe998eb2.tar.xz
forums-e86c24a4198a94d28af9455e43865874fe998eb2.zip
forgot to add true to the var_export function. :(
git-svn-id: file:///svn/phpbb/trunk@6840 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index b802d13a0d..a9e6011b8c 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -685,7 +685,7 @@ class queue
if ($fp = @fopen($this->cache_file, 'w'))
{
@flock($fp, LOCK_EX);
- fwrite($fp, "<?php\n\$this->queue_data = " . var_export($this->queue_data) . ";\n?>");
+ fwrite($fp, "<?php\n\$this->queue_data = " . var_export($this->queue_data, true) . ";\n?>");
@flock($fp, LOCK_UN);
fclose($fp);
}
@@ -724,7 +724,7 @@ class queue
if ($fp = @fopen($this->cache_file, 'w'))
{
@flock($fp, LOCK_EX);
- fwrite($fp, "<?php\n\$this->queue_data = " . var_export($this->data) . ";\n?>");
+ fwrite($fp, "<?php\n\$this->queue_data = " . var_export($this->data, true) . ";\n?>");
@flock($fp, LOCK_UN);
fclose($fp);
}