diff options
author | Friendika <info@friendika.com> | 2011-09-13 15:26:47 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-13 15:26:47 -0700 |
commit | 1248a561e13ebd0a612b7e6b0630c1aa89f0556e (patch) | |
tree | 1739b16c1384edf37f0ff0305e8b0d25d0ed6a33 | |
parent | 21d35e52dd4a83635127e1a68f6a478cf3289b1b (diff) | |
download | volse-hubzilla-1248a561e13ebd0a612b7e6b0630c1aa89f0556e.tar.gz volse-hubzilla-1248a561e13ebd0a612b7e6b0630c1aa89f0556e.tar.bz2 volse-hubzilla-1248a561e13ebd0a612b7e6b0630c1aa89f0556e.zip |
group_public_members sql query typo
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | include/group.php | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) |