Please Log in or Create an account to join the conversation.
What's your conditional exactly? My guess is you're not actually substituting in the field. Example as follows.Bug 1
With a field type “Check Box (Single)” in the database, there is only 0 OR 1
If I put conditions “equal to” with 1, OR “not equal to” with 0, nothing append
If I put the condition “greater than” 0, 1 OR X, it works but in all the cases!
I try with drop down (single select) with “yes/no” the condition doesn’t work
Was able to confirm. The current usage is calling the escaping functions statically, but they're not marked static. This is just a standards warning and shouldn't break your queries, but am fixing for a new release today.Bug 2
With action type
UPDATE #__comprofiler SET `cb_myfield` = CONCAT(cb_ myfield, '<br />MAJ') WHERE `user_id`='[user_id]'
That works, but there is 1 error :
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method cbautoactionsClass::escapeSQL() should not be called statically in /libraries/CBLib/CB/Legacy/CBuser.php on line 1006
And 546 errors like
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method cbautoactionsClass::escapeSQL() should not be called statically in /libraries/CBLib/CB/Legacy/CBuser.php on line 616
It was possible to hide the error message with “error reporting” = none !
An idea?
Please Log in or Create an account to join the conversation.