diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-30 05:03:23 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-30 05:03:23 +0300 |
| commit | 4f2d900af7636e6744ae14aeeefdf2d6080ac50a (patch) | |
| tree | 1f80775437510591656e6ef13375516226ed27f3 /core/classes/Database.php | |
| parent | a16d070c4f8301a8b68220aca6d3573705be9025 (diff) | |
| download | classroom-4f2d900af7636e6744ae14aeeefdf2d6080ac50a.tar.gz classroom-4f2d900af7636e6744ae14aeeefdf2d6080ac50a.tar.bz2 classroom-4f2d900af7636e6744ae14aeeefdf2d6080ac50a.zip | |
several mail options tested; mailhog (fake) mailer is working
Diffstat (limited to 'core/classes/Database.php')
| -rw-r--r-- | core/classes/Database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/classes/Database.php b/core/classes/Database.php index 629753c..8cac479 100644 --- a/core/classes/Database.php +++ b/core/classes/Database.php @@ -74,7 +74,7 @@ class Database { */ public function lastInsertID() { - return $this->connection->insert_id; + return $this->connection->lastInsertId(); } |
