summaryrefslogtreecommitdiff
path: root/src/views/pages
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-30 18:21:01 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-30 18:21:01 -0400
commit4152eefe0f93816cffa3d38c33638593d9e07f39 (patch)
tree3afdf8eac8db3518707b78d68cfb8b1d93842787 /src/views/pages
parentbe0d789259019c406f923ad81b2307c78e0deedc (diff)
Quick and ugly hack to safely allow multiple users to edit data at once
Diffstat (limited to 'src/views/pages')
-rw-r--r--src/views/pages/users/index.html.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/views/pages/users/index.html.php b/src/views/pages/users/index.html.php
index c56d0b3..7f51592 100644
--- a/src/views/pages/users/index.html.php
+++ b/src/views/pages/users/index.html.php
@@ -52,6 +52,9 @@ foreach ($users as $user) {
$arr['type'] = 'text';
}
+ $t->tag('input', array('name'=>'_old['.$arr['name'].']',
+ 'value'=>$arr['value'],
+ 'type'=>'hidden'));
$t->tag('input', $arr);
$t->closeTag('td');
}