summaryrefslogtreecommitdiff
path: root/src/views/pages/users/index.csv.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/pages/users/index.csv.php')
-rw-r--r--src/views/pages/users/index.csv.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/pages/users/index.csv.php b/src/views/pages/users/index.csv.php
index 527e508..0a69cee 100644
--- a/src/views/pages/users/index.csv.php
+++ b/src/views/pages/users/index.csv.php
@@ -1,5 +1,5 @@
<?php global $VARS;
-$attribs = $VARS['template'];
+$attribs = $VARS['attribs'];
$users = $VARS['users'];
function escape($value) {
@@ -7,7 +7,7 @@ function escape($value) {
return ($value?'true':'false');
} else {
$chars = "'" . '"' . '\\' . ',';
- return addcslashes($str, $chars);
+ return addcslashes($value, $chars);
}
}