From 71013569936cc88092a8faa5bba1aa7c5b56c836 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 16 Oct 2024 08:25:16 -0600 Subject: [PATCH] Fix incorrect link total when using onlyapp --- api/src/Link/Storage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Link/Storage.php b/api/src/Link/Storage.php index eea26979d4..2960220c97 100644 --- a/api/src/Link/Storage.php +++ b/api/src/Link/Storage.php @@ -208,6 +208,7 @@ class Storage if ($only_app && $not_only == ($linked_app == $only_app) || !$GLOBALS['egw_info']['user']['apps'][$app]) { #echo "$linked_app == $only_app, ";var_dump($linked_app == $only_app);echo " ->dont return a link
"; + self::$row_count--; return; } #echo "returning ".(($only_app && !$not_only) ? " linkid:".$linked_id : " full array with linkid $linked_id")."
";