Open Oxymoron290 opened 11 years ago
Lines 89 through 104 Function: AddGroup($groupname, $type)
AddGroup($groupname, $type)
Error: The field groupstype does not exist in the table TABLE-PREFIX_groups
groupstype
TABLE-PREFIX_groups
public static function AddGroup($groupname, $type) { $groupname = DB::escape($groupname); if($type != 'a' || $type != 'd') $type = 'd'; $query = "INSERT INTO " . TABLE_PREFIX . "groups (name, groupstype) VALUES ('$groupname', '$type')"; $res = DB::query($sql); if(DB::errno() != 0) return false; return true; }
Suggested resolution: Remove function Alternate solution: Remove class
CLEAR!
Lines 89 through 104 Function:
AddGroup($groupname, $type)
Error: The field
groupstype
does not exist in the tableTABLE-PREFIX_groups
Suggested resolution: Remove function Alternate solution: Remove class