From 1b248f18637b804f092e367b33f10db91db32515 Mon Sep 17 00:00:00 2001 From: Flavio Barachino Date: Tue, 30 May 2023 11:03:13 +0200 Subject: [PATCH] Risolto problema con chiamata della funzione delete per il tag --- app/Models/tag.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/tag.php b/app/Models/tag.php index 796d614..40ea489 100644 --- a/app/Models/tag.php +++ b/app/Models/tag.php @@ -37,7 +37,7 @@ class tag extends Model public static function delete($id) { DB::table('tags') - ->where('id','=',$id) - ->delete(); + //->where('id','=',$id) + ->delete($id); } }