bug #1377215, errors with E_STRICT
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
|||||||
|
|
||||||
2006-02-18 Marc Delisle <lem9@users.sourceforge.net>
|
2006-02-18 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php: bug #1415465, undefined $sql_query
|
* tbl_change.php: bug #1415465, undefined $sql_query
|
||||||
|
* libraries/common.lib.php: bug #1377215, errors with E_STRICT
|
||||||
|
|
||||||
2006-02-18 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2006-02-18 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* libraries/sql_query_form.lib.php:
|
* libraries/sql_query_form.lib.php:
|
||||||
|
@@ -36,6 +36,16 @@
|
|||||||
* release number
|
* release number
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* For now, avoid warnings of E_STRICT mode
|
||||||
|
* (this must be done before function definitions)
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (defined('E_STRICT')) {
|
||||||
|
$old_error_reporting = error_reporting(0);
|
||||||
|
error_reporting($old_error_reporting ^ E_STRICT);
|
||||||
|
unset($old_error_reporting);
|
||||||
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* definition of functions LABEL_definition_of_functions */
|
/* definition of functions LABEL_definition_of_functions */
|
||||||
|
Reference in New Issue
Block a user