Quote:
Originally Posted by Paul M
|
There appears to have been a partial reversal of the fix. All the parameters are now specified, but the default values are not (this is in 4.2.2PL4) which is what the warnings are complaining about.
e.g.
Line 242:
Code:
function add_index($fieldname, $fields, $type, $overwrite)
Line 518:
Code:
function add_index($fieldname, $fields, $type = '', $overwrite = false)
Notice the default values for $type and $overwrite.
The functions add_index, add_field, drop_field and query all have a default value missing in their declarations in the base class.