From: friendica Date: Thu, 5 Apr 2012 09:15:03 +0000 (-0700) Subject: make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b6e91086b29554fd04362f6c87ea148718e8b1c;p=friendica.git make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php --- diff --git a/mod/install.php b/mod/install.php index 003d81c6ab..d1142248a3 100755 --- a/mod/install.php +++ b/mod/install.php @@ -340,7 +340,7 @@ function check_php(&$phpath, &$checks) { $help .= t('The command line version of PHP on your system does not have "register_argc_argv" enabled.'). EOL; $help .= t('This is required for message delivery to work.'); } - check_add($checks, t('PHP "register_argc_argv"'), $passed, true, $help); + check_add($checks, t('PHP register_argc_argv'), $passed, true, $help); } diff --git a/mod/poco.php b/mod/poco.php index 79cf820bcd..acfa3ffaa9 100755 --- a/mod/poco.php +++ b/mod/poco.php @@ -45,6 +45,8 @@ function poco_init(&$a) { if($justme) $sql_extra = " and `contact`.`self` = 1 "; + else + $sql_extra = " and `contact`.`self` = 0 "; if($cid) $sql_extra = sprintf(" and `contact`.`id` = %d ",intval($cid));