aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/To-Do-Code.md2
-rw-r--r--mod/dirprofile.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/To-Do-Code.md b/doc/To-Do-Code.md
index dc2ba8245..2d9228e88 100644
--- a/doc/To-Do-Code.md
+++ b/doc/To-Do-Code.md
@@ -23,7 +23,7 @@ We need much more than this, but here are areas where developers can help. Pleas
* Extend WebDAV to provide desktop access to photo albums and existing file (attachment) storage
-* Directory - provide a hover popup providing much more detail about the channel of interest. Keywords, additional public profile details, perhaps the last public post, anything else of interest.
+* Directory - provide a hover popup providing much more detail about the channel of interest. Keywords, additional public profile details, perhaps the last public post, anything else of interest. [Update - we now have this, but it can be improved.]
* Events module - bring back birthday reminders for friends, fix permissions on events, and provide JS translation support for the calendar overview
diff --git a/mod/dirprofile.php b/mod/dirprofile.php
index dd583a89e..01a0debfc 100644
--- a/mod/dirprofile.php
+++ b/mod/dirprofile.php
@@ -132,7 +132,7 @@ function dirprofile_init(&$a) {
foreach($karr as $k) {
if(strlen($out))
$out .= ', ';
- if($marr && in_array($k,$marr))
+ if($marr && in_arrayi($k,$marr))
$out .= '<strong>' . $k . '</strong>';
else
$out .= $k;