users.php
changeset 183 aae57715199e
parent 126 cb06e3e29ed8
--- a/users.php	Fri Jun 20 12:21:03 2008 +0000
+++ b/users.php	Fri Jul 11 07:44:10 2008 +0000
@@ -77,7 +77,8 @@
 			}
 			echo "         </select>\n";
 		} else {
-			echo $user['tpl_name'];
+			echo "         <input type=\"hidden\" name=\"user[" . $user['uid'] . "][templ_id]\" value=\"" . $user['tpl_id'] . "\">\n";
+			echo "         " . $user['tpl_name'] . "\n";
 		}
 		echo "       </td>\n";
 		echo "       <td><input type=\"checkbox\" name=\"user[" . $user['uid'] . "][active]\"" . $active . "></td>\n";