PrimeraApi improved, some code cosmetics:
[core.git] / inc / classes / main / database / databases / class_LocalFileDatabase.php
index 854a8888e73dd5a2068abed98668e67d20c75fb1..9e7e3f42b7effda605629a42ffd91684c5583db9 100644 (file)
@@ -495,7 +495,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend
                } catch (FrameworkException $e) {
                        // Catch all exceptions and store them in last error
                        $this->lastException = $e;
-                       $this->lastError = $e->getMessage();
+                       $this->lastError     = $e->getMessage();
 
                        // Throw an SQL exception
                        throw new SqlException (array($this, sprintf("Cannot write data to table '%s'", $tableName), self::DB_CODE_TABLE_UNWRITEABLE), self::EXCEPTION_SQL_QUERY);