[ghelda-devel] [72] Revert g_getFormattedField change. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/ghelda-devel Archives
]
Revision: 72
Author: odyx
Date: 2009-07-24 23:18:54 +0200 (Fri, 24 Jul 2009)
Log Message:
-----------
Revert g_getFormattedField change.
Modified Paths:
--------------
trunk/inc/g_functions.php
trunk/plugins/Groups.php
trunk/plugins/People.php
Modified: trunk/inc/g_functions.php
===================================================================
--- trunk/inc/g_functions.php 2009-07-24 21:18:52 UTC (rev 71)
+++ trunk/inc/g_functions.php 2009-07-24 21:18:54 UTC (rev 72)
@@ -33,7 +33,7 @@
define('G_DB_PEOPLE_LOCALE','locale');
define('G_DB_PEOPLE_ID','people_id');
-function g_getFormattedField($ArrayVals,$type,$fieldName,$fieldName_,$fieldSpec, $fieldIndex = NULL) {
+function g_getFormattedField($ArrayVals,$type,$fieldName,$fieldSpec, $fieldIndex = NULL) {
// Two different behaviours
// Normal behavior
$value = $ArrayVals[$fieldName];
Modified: trunk/plugins/Groups.php
===================================================================
--- trunk/plugins/Groups.php 2009-07-24 21:18:52 UTC (rev 71)
+++ trunk/plugins/Groups.php 2009-07-24 21:18:54 UTC (rev 72)
@@ -165,7 +165,7 @@
continue;
}
- $fieldContent = g_getFormattedField($_POST,$type,$fieldName,$fieldName_,$fieldsSpec);
+ $fieldContent = g_getFormattedField($_POST,$type,$fieldName,$fieldsSpec);
if( $fieldContent === false ) { // The given date is false
$fieldsSpec[$fieldName_]['error'] = true;
$newError = true;
@@ -296,6 +296,7 @@
$formattedField =
g_getFormattedField($_POST,$fieldSpec['type'],$this->name.'_'.$fieldName,$fieldSpec,$pg_id);
+
$formattedFields[] = '`'.$fieldName.'`'.' = '."'".$formattedField."'";
}
// If we actually have something to do
Modified: trunk/plugins/People.php
===================================================================
--- trunk/plugins/People.php 2009-07-24 21:18:52 UTC (rev 71)
+++ trunk/plugins/People.php 2009-07-24 21:18:54 UTC (rev 72)
@@ -316,7 +316,6 @@
$fullFieldsContents[$pluginName] = $biDimResult['content'];
}
}
-
$this->output->displayFields($fullFieldsSpec,$fullFieldsContents,$displayOptions);
}