| Attached Files | editlist.patch [^] (1,118 bytes) 22-04-08 16:12 [Show Content] [Hide Content]Index: editlist.php
===================================================================
RCS file: /cvsroot/phplist/phplist/public_html/lists/admin/editlist.php,v
retrieving revision 1.15
diff -p -8 -u -r1.15 editlist.php
--- editlist.php 16 Jan 2008 05:41:28 -0000 1.15
+++ editlist.php 22 Apr 2008 16:09:09 -0000
@@ -54,21 +54,22 @@ if (isset($_POST["save"]) && $_POST["sav
$_POST['prefix'], $_POST['owner'], $id));
} else {
$query
= ' insert into %s'
. ' (name, description, entered, listorder, owner, prefix, active)'
. ' values'
. ' (?, ?, current_timestamp, ?, ?, ?, ?)';
$query = sprintf($query, $tables['list']);
- }
+
# print $query;
$result = Sql_Query_Params($query, array($id, $_POST['listname'],
$_POST['description'], $_POST['listorder'], $_POST['owner'],
$_POST['prefix'], $_POST['active']));
+ }
if (!$id)
$id = Sql_Insert_Id($tables['list'], 'id');
## allow plugins to save their fields
foreach ($GLOBALS['plugins'] as $plugin) {
$result = $result && $plugin->processEditList($id);
}
Redirect('list');
|