mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: changed in function "get_db_all_rows_filter" the parameter $filter to set empty array as default value. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
56e3d3cbc0
commit
e4222b1cef
@ -1,3 +1,8 @@
|
|||||||
|
2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_db.php: changed in function "get_db_all_rows_filter" the
|
||||||
|
parameter $filter to set empty array as default value.
|
||||||
|
|
||||||
2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
|
2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_filemanager.php: added const MIME_TEXT. added source
|
* include/functions_filemanager.php: added const MIME_TEXT. added source
|
||||||
|
@ -1946,7 +1946,7 @@ function get_db_all_rows_sql ($sql, $search_history_db = false, $cache = true) {
|
|||||||
*
|
*
|
||||||
* @return mixed Array of the row or false in case of error.
|
* @return mixed Array of the row or false in case of error.
|
||||||
*/
|
*/
|
||||||
function get_db_all_rows_filter ($table, $filter, $fields = false, $where_join = 'AND', $search_history_db = false, $returnSQL = false) {
|
function get_db_all_rows_filter ($table, $filter = array(), $fields = false, $where_join = 'AND', $search_history_db = false, $returnSQL = false) {
|
||||||
//TODO: Validate and clean fields
|
//TODO: Validate and clean fields
|
||||||
if (empty ($fields)) {
|
if (empty ($fields)) {
|
||||||
$fields = '*';
|
$fields = '*';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user