aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-05 02:15:03 -0700
committerfriendica <info@friendica.com>2012-04-05 02:15:03 -0700
commit9b6e91086b29554fd04362f6c87ea148718e8b1c (patch)
tree5097892590d1c47371421ab44b867f00081278bc /mod
parentb2290f4f12ceded64632d92de77d0898f3d8a80e (diff)
downloadvolse-hubzilla-9b6e91086b29554fd04362f6c87ea148718e8b1c.tar.gz
volse-hubzilla-9b6e91086b29554fd04362f6c87ea148718e8b1c.tar.bz2
volse-hubzilla-9b6e91086b29554fd04362f6c87ea148718e8b1c.zip
make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php
Diffstat (limited to 'mod')
-rwxr-xr-xmod/install.php2
-rwxr-xr-xmod/poco.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/mod/install.php b/mod/install.php
index 003d81c6a..d1142248a 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 79cf820bc..acfa3ffaa 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));