make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php

This commit is contained in:
friendica 2012-04-05 02:15:03 -07:00
parent b2290f4f12
commit 9b6e91086b
2 changed files with 3 additions and 1 deletions

View File

@ -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('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.'); $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);
} }

View File

@ -45,6 +45,8 @@ function poco_init(&$a) {
if($justme) if($justme)
$sql_extra = " and `contact`.`self` = 1 "; $sql_extra = " and `contact`.`self` = 1 ";
else
$sql_extra = " and `contact`.`self` = 0 ";
if($cid) if($cid)
$sql_extra = sprintf(" and `contact`.`id` = %d ",intval($cid)); $sql_extra = sprintf(" and `contact`.`id` = %d ",intval($cid));