aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-13 15:26:47 -0700
committerFriendika <info@friendika.com>2011-09-13 15:26:47 -0700
commit1248a561e13ebd0a612b7e6b0630c1aa89f0556e (patch)
tree1739b16c1384edf37f0ff0305e8b0d25d0ed6a33
parent21d35e52dd4a83635127e1a68f6a478cf3289b1b (diff)
downloadvolse-hubzilla-1248a561e13ebd0a612b7e6b0630c1aa89f0556e.tar.gz
volse-hubzilla-1248a561e13ebd0a612b7e6b0630c1aa89f0556e.tar.bz2
volse-hubzilla-1248a561e13ebd0a612b7e6b0630c1aa89f0556e.zip
group_public_members sql query typo
-rw-r--r--boot.php2
-rw-r--r--include/group.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 19c8a86c6..c369696f1 100644
--- a/boot.php
+++ b/boot.php
@@ -7,7 +7,7 @@ require_once('include/text.php');
require_once("include/pgettext.php");
-define ( 'FRIENDIKA_VERSION', '2.2.1101' );
+define ( 'FRIENDIKA_VERSION', '2.2.1102' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1087 );
diff --git a/include/group.php b/include/group.php
index 309949680..d92e24e20 100644
--- a/include/group.php
+++ b/include/group.php
@@ -124,7 +124,7 @@ function group_public_members($gid) {
$r = q("SELECT `contact`.`id` AS `contact-id` FROM `group_member`
LEFT JOIN `contact` ON `contact`.`id` = `group_member`.`contact-id`
WHERE `gid` = %d AND `group_member`.`uid` = %d
- AND `contact`.`network` = '%s' AND `contact`.`notify` != '' )",
+ AND `contact`.`network` = '%s' AND `contact`.`notify` != '' ",
intval($gid),
intval(local_user()),
dbesc(NETWORK_OSTATUS)