lollipop

A PHP-framework
Log | Files | Refs

commit 163d174aa7d3f6a536454cc158f88a6ea37e0a8d
parent dd1d48bb4c26c0aa547d76a875979ceb9146cd3f
Author: Friedel Schon <[email protected]>
Date:   Tue, 11 Apr 2023 13:47:40 +0200

initialize variable

Diffstat:
MLollipop/SQLDatabase.php | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/Lollipop/SQLDatabase.php b/Lollipop/SQLDatabase.php @@ -57,7 +57,6 @@ namespace Lollipop { function all(string $table_name) { $cls = new $table_name($this); - $sql = "SELECT {$cls->get_primary()} FROM {$cls->get_table()}"; $result = $this->conn->query($sql);