We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoExecute
function AutoExecute( mixed $table, mixed $fields_values, string $mode = "INSERT", bool $where = false, bool $forceUpdate = true, bool $magic_quotes = false ): bool
$where should be string|false or maybe even string $where = '' instead.
$where
string|false
string $where = ''
https://github.com/ADOdb/ADOdb/blob/master/adodb.inc.php#L2610
The text was updated successfully, but these errors were encountered:
Improve autoExecute() PHPDoc, fix $where param type
de1357c
$where was wrongly typed as bool. Changed it to string and updated the default value from false to ''. Fixes #915
Thanks for the heads up.
Note: only PHPDoc has been updated for now, proper type hints will be added at a later time.
Sorry, something went wrong.
No branches or pull requests
$where
should bestring|false
or maybe evenstring $where = ''
instead.https://github.com/ADOdb/ADOdb/blob/master/adodb.inc.php#L2610
The text was updated successfully, but these errors were encountered: