cvs: pear /Perm_LiveUser/Admin/Perm/Container DB_Medium.php MDB_Medium.php
| From: | Arnaud Limbourg | Date: | Mon, 06 Oct 2003 12:54:39 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Admin/Perm/Container DB_Medium.php MDB_Medium.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13418@lists.php.net to get a copy of this message | ||
arnaud Mon Oct 6 08:54:39 2003 EDT
Modified files:
/pear/Perm_LiveUser/Admin/Perm/Container MDB_Medium.php
DB_Medium.php
Log:
* wrong queries
Index: pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php
diff -u pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php:1.8
pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php:1.9
--- pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php:1.8 Mon Oct 6 04:13:43 2003
+++ pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php Mon Oct 6 08:54:39 2003
@@ -47,7 +47,7 @@
* @author Markus Wolff <wolff@21st.de>
* @author Matt Scifo <mscifo@php.net>
* @author Arnaud Limbourg <arnaud@php.net>
- * @version $Id: MDB_Medium.php,v 1.8 2003/10/06 08:13:43 lsmith Exp $
+ * @version $Id: MDB_Medium.php,v 1.9 2003/10/06 12:54:39 arnaud Exp $
* @package LiveUser
*/
class LiveUser_Admin_Perm_Container_MDB_Medium extends LiveUser_Admin_Perm_MDB_Common
@@ -92,12 +92,11 @@
// Insert Group into Groupstable
$query = 'INSERT INTO
' . $this->prefix . 'groups
- (group_id, group_define_name, group_comment, is_active)
+ (group_id, group_define_name, is_active)
VALUES
(
' . $this->dbc->getIntegerValue($group_id) . ',
' . $this->dbc->getTextValue($define_name) . ',
- ' . $this->dbc->getTextValue($group_comment) . ',
"' . $this->dbc->getBooleanValue($active) . '"
)';
Index: pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php
diff -u pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php:1.14
pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php:1.15
--- pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php:1.14 Mon Oct 6 04:13:43 2003
+++ pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php Mon Oct 6 08:54:39 2003
@@ -47,7 +47,7 @@
* @author Markus Wolff <wolff@21st.de>
* @author Matt Scifo <mscifo@php.net>
* @author Arnaud Limbourg <arnaud@php.net>
- * @version $Id: DB_Medium.php,v 1.14 2003/10/06 08:13:43 lsmith Exp $
+ * @version $Id: DB_Medium.php,v 1.15 2003/10/06 12:54:39 arnaud Exp $
* @package LiveUser
*/
class LiveUser_Admin_Perm_Container_DB_Medium extends LiveUser_Admin_Perm_DB_Common
@@ -122,12 +122,11 @@
// Insert Group into Groupstable
$query = 'INSERT INTO
' . $this->prefix . 'groups
- (group_id, group_define_name, group_comment, is_active)
+ (group_id, group_define_name, is_active)
VALUES
(
' . (int)$group_id . ',
' . $this->dbc->quote($define_name) . ',
- ' . $this->dbc->quote($group_comment) . ',
"' . ($active ? 'Y' : 'N') . '"
)';