summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaxoc2013-01-01 18:57:40 (GMT)
committer Daniel Wehner2013-01-01 18:57:40 (GMT)
commit1ff0f6508d239f4cda98451e722325e33c34a087 (patch)
tree82613c5e7678125be3a2d0491392087742572101
parent7dd5de5d00560930b1a6f722b161a315b47f91ce (diff)
Issue #1804448 by naxoc: Fixed Code from documentation is causing PHP notices.
-rw-r--r--includes/handlers.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/handlers.inc b/includes/handlers.inc
index af56759..2a33d5d 100644
--- a/includes/handlers.inc
+++ b/includes/handlers.inc
@@ -1430,7 +1430,7 @@ function views_date_sql_extract($extract_type, $field, $field_type = 'int', $set
* // PHP 4 doesn't call constructors of the base class automatically from a
* // constructor of a derived class. It is your responsibility to propagate
* // the call to constructors upstream where appropriate.
- * function construct($table, $left_table, $left_field, $field, $extra = array(), $type = 'LEFT') {
+ * function construct($table = NULL, $left_table = NULL, $left_field = NULL, $field = NULL, $extra = array(), $type = 'LEFT') {
* parent::construct($table, $left_table, $left_field, $field, $extra, $type);
* }
*