From 03cca454683f39eb6c361ee13a8aabe7e7caad28 Mon Sep 17 00:00:00 2001 From: Christian Uhl Date: Tue, 9 Aug 2016 11:03:51 +0000 Subject: [PATCH] forgot pdomysql nullDate default value --- libraries/joomla/database/driver/pdomysql.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libraries/joomla/database/driver/pdomysql.php b/libraries/joomla/database/driver/pdomysql.php index f812f0db9303a..3a61485c2e266 100644 --- a/libraries/joomla/database/driver/pdomysql.php +++ b/libraries/joomla/database/driver/pdomysql.php @@ -52,6 +52,15 @@ class JDatabaseDriverPdomysql extends JDatabaseDriverPdo */ protected static $dbMinimum = '5.0.4'; + /** + * The null or zero representation of a timestamp for the database driver. This should be + * defined in child classes to hold the appropriate value for the engine. + * + * @var string + * @since 3.4 + */ + protected $nullDate = '0000-00-00 00:00:00'; + /** * Constructor. *