From 4152eefe0f93816cffa3d38c33638593d9e07f39 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 30 Sep 2011 18:21:01 -0400 Subject: Quick and ugly hack to safely allow multiple users to edit data at once --- src/views/pages/users/index.html.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/views/pages/users/index.html.php') 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'); } -- cgit v1.2.3-2-g168b