Skip to content

Commit

Permalink
Driver Update (error?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Uhl committed Aug 8, 2016
1 parent af16156 commit 085912e
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/joomla/database/driver.php
Expand Up @@ -876,16 +876,16 @@ public function getAlterTableCharacterSet($tableName)


/**
* Automatically changes the null time in the Query File
* Automatically changes the null date in the Query File
* @param string $query The query to convert
*
* @return string The converted query
*/
public function convertNullTime($query,$nullTime)
public function convertNullDate($query,$nullDate)
{
if($nullTime != '0000-00-00 00:00:00')
if($nullDate != '0000-00-00 00:00:00')
{
$query = str_replace('0000-00-00 00:00:00', $nullTime, $query);
$query = str_replace('0000-00-00 00:00:00', $nullDate, $query);
}

return $query;
Expand Down
Empty file modified libraries/joomla/database/driver/mysql.php 100644 → 100755
Empty file.
Empty file modified libraries/joomla/database/driver/oracle.php 100644 → 100755
Empty file.
Empty file modified libraries/joomla/database/driver/pdo.php 100644 → 100755
Empty file.
Empty file modified libraries/joomla/database/driver/postgresql.php 100644 → 100755
Empty file.
Empty file modified libraries/joomla/database/driver/sqlazure.php 100644 → 100755
Empty file.
Empty file modified libraries/joomla/database/driver/sqlite.php 100644 → 100755
Empty file.
Empty file modified libraries/joomla/database/driver/sqlsrv.php 100644 → 100755
Empty file.

0 comments on commit 085912e

Please sign in to comment.