[ghelda-devel] [44] Correct hardwritten variable content

[ Thread Index | Date Index | More lists.tuxfamily.org/ghelda-devel Archives ]


Revision: 44
Author:   odyx
Date:     2009-05-20 13:48:20 +0200 (Wed, 20 May 2009)

Log Message:
-----------
Correct hardwritten variable content

Modified Paths:
--------------
    trunk/plugins/Groups.php


Modified: trunk/plugins/Groups.php
===================================================================
--- trunk/plugins/Groups.php	2009-05-20 11:48:18 UTC (rev 43)
+++ trunk/plugins/Groups.php	2009-05-20 11:48:20 UTC (rev 44)
@@ -300,7 +300,7 @@
                     if( $group_id == G_GROUPS_ID_NEW ) {
                     $query = sprintf("DELETE FROM `%s` WHERE `%s` = '%s' LIMIT 1",
                         $this->linkPeopleTableName,
-                        'people_group_id',
+                        G_PEOPLE_GROUPS_ID,
                         $pg_id
                         );
                     }
@@ -317,7 +317,7 @@
                         $query = sprintf("UPDATE `%s` SET %s WHERE `%s` = '%s' LIMIT 1",
                             $this->linkPeopleTableName,
                             implode(', ',$formattedFields),
-                            'people_group_id',
+                            G_PEOPLE_GROUPS_ID,
                             $pg_id
                             );
                     }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/