diff options
author | friendica <info@friendica.com> | 2014-01-15 03:12:47 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-15 03:12:47 -0800 |
commit | 47b8071ca7968ea489bd00c0746a2be39d6a6f2d (patch) | |
tree | 9c817b18bffb1d4cdedf081a419901fbb1715810 /include/items.php | |
parent | 362e4060e19e910a50886b660532dd35fd0385bb (diff) | |
download | volse-hubzilla-47b8071ca7968ea489bd00c0746a2be39d6a6f2d.tar.gz volse-hubzilla-47b8071ca7968ea489bd00c0746a2be39d6a6f2d.tar.bz2 volse-hubzilla-47b8071ca7968ea489bd00c0746a2be39d6a6f2d.zip |
dav: throw exception if channel for requested DAV directory is deleted
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index 9a1e5f81b..ea46df9bf 100755 --- a/include/items.php +++ b/include/items.php @@ -2259,7 +2259,7 @@ function tag_deliver($uid,$item_id) { if($terms) { foreach($terms as $term) { - if(($term['term'] == $u[0]['channel_name']) && link_compare($term['url'],$link)) { + if((strcasecmp($term['term'],$u[0]['channel_name']) == 0) && link_compare($term['url'],$link)) { $mention = true; break; } @@ -2322,8 +2322,10 @@ function tag_deliver($uid,$item_id) { } - if((! $mention) && (! $union)) + if((! $mention) && (! $union)) { + logger('tag_deliver: no mention and no union.'); return; + } // tgroup delivery - setup a second delivery chain |