Skip to content

Commit

Permalink
v 0.1.5 - fixed public access glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
ura soul committed Jan 16, 2014
1 parent 8ed9e05 commit 16ac2a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/interconnected.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/**
* simply sharing function library for elgg
* interconnected function library for elgg
*
* @license GNU Public License version 2
* @author ura soul
* @website infiniteeureka.com*
* @website infiniteeureka.com
*/

function interconnected_analyze_url($url) {
Expand Down Expand Up @@ -125,7 +125,7 @@ function get_sharing_data_for_current_page()
$access_id = $entity->access_id;
$access_id_string = get_readable_access_level($access_id);

if ($access_id_string != 'public')
if (($access_id_string != 'Public')&&($access_id_string != 'public'))
{
$content['access_denied'] = TRUE;
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin_manifest xmlns="http://www.elgg.org/plugin_manifest/1.8">
<name>interconnected</name>
<author>ura soul</author>
<version>0.1.4</version>
<version>0.1.5</version>
<description>for social sharing and seo without bloatage</description>
<website>https://www.infiniteeureka.com</website>
<license>GNU Public License version 2</license>
Expand Down

0 comments on commit 16ac2a7

Please sign in to comment.