]> git.mxchange.org Git - friendica.git/commitdiff
make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php
authorfriendica <info@friendica.com>
Thu, 5 Apr 2012 09:15:03 +0000 (02:15 -0700)
committerfriendica <info@friendica.com>
Thu, 5 Apr 2012 09:15:03 +0000 (02:15 -0700)
mod/install.php
mod/poco.php

index 003d81c6ab90f1612fc63dc7d1003c4f62bd4ed1..d1142248a3610c12d4db95f57b310b6011b4d7d9 100755 (executable)
@@ -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);
        }
        
 
index 79cf820bcd9b15c1d040d46e3a90406ed2c01530..acfa3ffaa98e46c637fffdf4c96e5463b5a88cdb 100755 (executable)
@@ -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));