make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php
This commit is contained in:
parent
b2290f4f12
commit
9b6e91086b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue