From 9b6e91086b29554fd04362f6c87ea148718e8b1c Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Apr 2012 02:15:03 -0700 Subject: [PATCH] make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php --- mod/install.php | 2 +- mod/poco.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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));