Download & Extend

Operator Column is Varchar(2)!

Project:Mobile Plugin
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

This is a problem because the "contains none of" operator (!=~) contains THREE characters. Setting to varchar(3) [or more] fixes the issue

Comments

#1

The 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"

nobody click here