change hook operand to use less memory in PHP4
authorfranzholz <franzholz@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 16 Dec 2007 14:23:09 +0000 (14:23 +0000)
committerfranzholz <franzholz@735d13b6-9817-0410-8766-e36946ffe9aa>
Sun, 16 Dec 2007 14:23:09 +0000 (14:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/static_info_tables/trunk@7567 735d13b6-9817-0410-8766-e36946ffe9aa

class.tx_staticinfotables_syslanguage.php

index 328ab1a..28788dc 100644 (file)
@@ -42,7 +42,7 @@ global $TYPO3_CONF_VARS;
  */
 class tx_staticinfotables_syslanguage {
 
-       function processDatamap_postProcessFieldArray($status, $table, $id, $fieldArray, $parent) {
+       function processDatamap_postProcessFieldArray($status, $table, $id, $fieldArray, &$pObj) {
                if($table == 'sys_language' AND $fieldArray['static_lang_isocode']) {
                                // the hotlist will be updated only if the field changed, because only then it's in the $fieldArray
                        tx_staticinfotables_div::updateHotlist ('static_languages', $fieldArray['static_lang_isocode'], 'uid');