Browse Source

group_public_members sql query typo

pull/1/head
Friendika 10 years ago
parent
commit
1248a561e1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      boot.php
  2. +1
    -1
      include/group.php

+ 1
- 1
boot.php View File

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


+ 1
- 1
include/group.php View File

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


Loading…
Cancel
Save