From 486c048950a50c9037b00cd74254bb29fa713cc4 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 2 Oct 2019 09:05:48 +0100 Subject: [PATCH] typo --- core/database.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/database.php b/core/database.php index 24d8bd47..d2b7b65c 100644 --- a/core/database.php +++ b/core/database.php @@ -203,8 +203,8 @@ class Database $stmt = $this->db->prepare( "-- " . str_replace("%2F", "/", urlencode(@$_GET['q'])). "\n" . $query - ) - assert(!is_bool($stmt));; + ); + assert(!is_bool($stmt)); // $stmt = $this->db->prepare($query); if (!array_key_exists(0, $args)) { foreach ($args as $name=>$value) { @@ -313,8 +313,8 @@ class Database } else { $id = $this->db->lastInsertId(); } - assert(is_numeric($id)); - return (int)$id; + assert(is_numeric($id)); + return (int)$id; } /**