So I’m using filters which are filled dynamically from what’s in the mysqldb. When the table is filled with data, there is no issues here, the filters work fine.
When the customer first installs though, it breaks the sql query as there is nothing for this line to select.
and region in ($v_Region)
With $v_Region being my working filter when we have data. Here is the error that shows up when there is nothing in the table:
Is there a way around this error as I would like the customer not to see errors on install of our product. Or am I possibly doing something the wrong way?