summaryrefslogtreecommitdiff
path: root/modules/gallery/views/user_profile_info.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/user_profile_info.html.php')
-rw-r--r--modules/gallery/views/user_profile_info.html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/views/user_profile_info.html.php b/modules/gallery/views/user_profile_info.html.php
index 2a2549c8..58e134bb 100644
--- a/modules/gallery/views/user_profile_info.html.php
+++ b/modules/gallery/views/user_profile_info.html.php
@@ -1,9 +1,9 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<table>
- <? foreach ($fields as $field => $value): ?>
+ <? foreach ($user_profile_data as $label => $value): ?>
<tr>
- <td><?= $field ?></td>
- <td><?= $value ?></td>
+ <td><?= html::clean($label) ?></td>
+ <td><?= html::purify($value) ?></td>
</tr>
<? endforeach ?>
</table>