acr_1984_i - SQL error
Posted: Sun Aug 26, 2007 10:35 am
We're getting occational SQL errors from the ACR_GetHasIllegalProperties() function. It's an SQL syntax error involving the "IsIllegal=1")" part.
Have an easy fix for this one, that we can slip in before release, Cipher?
Out of curiosity, the item_properties table is currently empty- should it be filled with properties that are marked as to their legality for this function to work properly?
Have an easy fix for this one, that we can slip in before release, Cipher?
Code: Select all
// check if any of the item properties are illegal
if (sProperties != "" )
{
ACR_SQLQuery("SELECT ID FROM item_properties WHERE ItemProperty in (" + sProperties + ") and IsIllegal=1");
return ACR_SQLFetch();
}