Download & Extend

Error when adding icon to menu

Project:Menu Icons
Version:6.x-2.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

Receiving this error whe trying to add an icon to a menu item. Any thoughts? Using version 6-x.2.2

* warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "attributes" LINE 1: UPDATE menu_links   SET options = "a:3:{s:10:"attributes";a:2:... ^ in /var/vwww/johnmurrayphotographer/html/includes/database.pgsql.inc on line 139.
* user warning: query: UPDATE menu_links SET options = "a:3:{s:10:"attributes";a:2:{s:5:"title";s:24:"Login to Photo  Organizer";s:5:"class";s:18:"menu_icon menu-991";}s:5:"alter";b:1;s:9:"menu_icon";a:2:{s:6:"enable";i:1;s:4:"path";s:48:"sites/default/files/menu_icons/menu_icon_991.png";}}" WHERE mlid = 991 in /var/vwww/johnmurrayphotographer/html/sites/all/modules/menu_icons/menu_icons.module on line 134.

Comments

#1

Priority:normal» critical
Status:active» needs review

Could you try this patch?

AttachmentSize
menu_icons-775714-1.patch 949 bytes

#2

This work for me (using PostgreSQL 8.3).

Can you release the fix? :)

#3

Status:needs review» reviewed & tested by the community

Works for me, please update the package.

#4

Yes, this patch works and is still not present in 6.x-2.4.

nobody click here