[contributions(DRUPAL-6--2):marvil07] /modules/vote_up_down vud.module
User: marvil07 Branch: DRUPAL-6--2 Date: Mon, 01 Nov 2010 04:57:26 +0000 Modified files: /modules/vote_up_down vud.module Log message: bug #890404 by Agileware, marvil07: Avoid array_merge_recursive() on hook_votingapi_results_alter() function. New aggregation functions for votingapi cache table were assuming there will be only one tag, that's now fixed. In the onthe side, we are now avoiding use array_merge_recursive() and instead, add the values directly to the $cache array fix aggregation functions for positives/negatives so they calculate all tags results instead of only one tag result This patch also move the logic again to the hook_votingapi_results_alter() function. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/vote_up_down/vud.m...
participants (1)
-
drupal-cvs@drupal.org