use case-insensitive array search for matching directory keywords with your own

This commit is contained in:
friendica 2013-12-23 22:56:32 -08:00
parent 80879369e7
commit 71dde7c687
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;