Quote:
Originally Posted by mysticssjgoku4
Assuming it is talking about this function. Check the second argument "key" as it probably requires a string.
Code:
cmd_ChangeRule(id, key);
|
So you are saying this is the one making an error?
PHP Code:
new key = str_to_num(data);
I tried to use data instead, that doesn't work either,
then it says: Array must be indexed.
Omg, it's too long since I have worked with this kind of shit
Or are you saying the func should look like this?
PHP Code:
cmd_ChangeRule(id, key);
bc that was what it was at first.