From 828203f7c914265555261381a7762d3c33b62086 Mon Sep 17 00:00:00 2001 From: Mohammed AlShannaq Date: Mon, 8 Jan 2024 12:53:01 +0300 Subject: [PATCH] bug : fix url counts show incorrect number when url is shared #135 --- app/Controllers/Users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Users.php b/app/Controllers/Users.php index c69a287..ec810f9 100644 --- a/app/Controllers/Users.php +++ b/app/Controllers/Users.php @@ -170,7 +170,7 @@ public function listUsersData() } // get the user url counts - $user_url_count = "" . $this->urlmodel->getUrlsForUser($user->id, null, null, null, 'url_id', 'asc', 'count') . ''; + $user_url_count = "" . $this->urlmodel->getUrlCount($user->id) . ''; $users_data[] = [ 'user_id_col' => $user->id,