aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-22 17:43:50 -0700
committerzotlabs <mike@macgirvin.com>2017-06-22 17:43:50 -0700
commit681d6ca1dd1e5c16dfb73ada131f2d6b7a24f942 (patch)
treea89ca8f2f24bf0b0aa06494851f976c83b01d6cf /Zotlabs/Widget
parent3b4f70ae83e458720f7af2446c66dcf5e0d55ace (diff)
downloadvolse-hubzilla-681d6ca1dd1e5c16dfb73ada131f2d6b7a24f942.tar.gz
volse-hubzilla-681d6ca1dd1e5c16dfb73ada131f2d6b7a24f942.tar.bz2
volse-hubzilla-681d6ca1dd1e5c16dfb73ada131f2d6b7a24f942.zip
more mail issues
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Conversations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Conversations.php b/Zotlabs/Widget/Conversations.php
index 8bcc09e3c..4fd754f66 100644
--- a/Zotlabs/Widget/Conversations.php
+++ b/Zotlabs/Widget/Conversations.php
@@ -54,7 +54,7 @@ class Conversations {
'body' => $rr['body'],
'date' => datetime_convert('UTC',date_default_timezone_get(),$rr['created'], 'c'),
'seen' => $rr['seen'],
- 'selected' => ((argv(2)) ? (argv(2) == $rr['id']) : ($r[0]['id'] == $rr['id']))
+ 'selected' => ((argc() == 2) ? (intval(argv(1)) == intval($rr['id'])) : ($r[0]['id'] == $rr['id']))
);
}