[ghelda-devel] [76] plugin/People: Correct _THE_ nasty bug |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/ghelda-devel Archives
]
Revision: 76
Author: odyx
Date: 2009-07-25 01:12:32 +0200 (Sat, 25 Jul 2009)
Log Message:
-----------
plugin/People: Correct _THE_ nasty bug
Modified Paths:
--------------
trunk/plugins/People.php
Modified: trunk/plugins/People.php
===================================================================
--- trunk/plugins/People.php 2009-07-24 23:12:30 UTC (rev 75)
+++ trunk/plugins/People.php 2009-07-24 23:12:32 UTC (rev 76)
@@ -231,7 +231,7 @@
continue;
}
// Re-check for the dates…
- elseif(array_key_exists(g_appendOld($fieldName),$_POST) && $fieldContent == $_POST[g_appendOld($fieldName)])
+ elseif($id != G_PEOPLE_ID_NEW && array_key_exists(g_appendOld($fieldName),$_POST) && $fieldContent == $_POST[g_appendOld($fieldName)])
continue;
}
$fieldsContents[$fieldName_] = $fieldContent;