|
From: Benjamin C. <bc...@us...> - 2001-11-23 05:02:44
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv17517
Modified Files:
configure.php
Log Message:
Code cleanup
Index: configure.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/configure.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- configure.php 2001/11/13 03:53:04 1.2
+++ configure.php 2001/11/23 05:02:41 1.3
@@ -42,6 +42,7 @@
$t->set_block('row', 'selectblock', 'select');
$t->set_block('row', 'radioblock', 'radio');
+ $i = 0;
$q->query('select * from '.TBL_CONFIGURATION);
while ($row = $q->grab()) {
$t->set_var($row);
@@ -88,7 +89,7 @@
$perm->check('Admin');
-if ($submit) {
+if (isset($_pv['submit'])) {
save_options();
}
list_options();
|