Contribution Date
Technology
Contribution Project
Contribution Details
Closing this as this has been fixed with issue 2384963 and committed on Sep 11, 2015.
Following will help you understand it more...
$ git show 51bf95a0
commit 51bf95a0f7faccdd66dfbce2a0b9dc3e497ad1e1
Author: Valdoe <Valdoe@3061951.no-reply.drupal.org>
Date: Fri Sep 11 09:45:24 2015 +0200
Issue #2384963 by Valdoe, BarisW: Menu_position_read_rules don't work at all
diff --git a/menu_position.admin.inc b/menu_position.admin.inc
index b77f14b..4e3526a 100644
--- a/menu_position.admin.inc
+++ b/menu_position.admin.inc
@@ -530,8 +530,8 @@ function menu_position_read_rules() {
$query = db_query('SELECT * FROM {menu_position_rules} ORDER BY weight, rid');
$rules = array();
foreach ($query as $rule) {
- $rule['conditions'] = unserialize($rule['conditions']);
- $rules[$rule['rid']] = $rule;
+ $rule->conditions = unserialize($rule->conditions);
+ $rules[$rule->rid] = $rule;
}
return $rules;
}
$
To make it working right one has to simply module to 7.x-1.2 version, and run update.
Contribution Issue Link
Files count
0
Patches count
0