Active
Project:
Mobile Plugin
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2010 at 22:21 UTC
Updated:
20 Aug 2010 at 04:16 UTC
This is a problem because the "contains none of" operator (!=~) contains THREE characters. Setting to varchar(3) [or more] fixes the issue
Comments
Comment #1
ahaarnos commentedThe patch to fix this is simple, change the 'length' => 2, on line 46 of mobileplugin.install to something higher, like 3 or 4.
If you've already installed, you need to just alter the column in your database as follows:
"ALTER TABLE `mobileplugin_rules` CHANGE `operator` `operator` VARCHAR( 4 ) NOT NULL"