fixes some PHP warnings

This commit is contained in:
Remi 2016-03-03 12:07:38 +01:00
parent 9ec0668da5
commit 5ab6a47862
5 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ if ($show == "all" && !$subadmin == 1 && $cuid != 2000) {
}
// show all accounts by default for admin-like accounts
if (($show=="")&&($subadmin == 1 || $cuid == 2000)) $show=all;
if (($show=="")&&($subadmin == 1 || $cuid == 2000)) $show="all";
if ($pattern && $pattern_type) {
$accountList = $admin->get_list($show == 'all' ? 1 : 0, $creator, $pattern, $pattern_type);

View File

@ -107,7 +107,7 @@ if($admin->enabled) {
} // if $admin->enabled
$blocks=$hooks->invoke("hook_homepageblock");
uasort($blocks, function($a, $b) {return $a->order<$b->order ? -1 : 1;});
uasort($blocks, function($a, $b) {return $a->pos<$b->pos ? -1 : 1;});
foreach ($blocks as $v) {
if (property_exists($v, "call")) {
$func=$v->call;

View File

@ -6080,7 +6080,7 @@ msgstr "Anzeige der Einschränkungen"
#: ../class/m_quota.php:78
#, php-format
msgid "%s%% of %s"
msgstr "%s%% von %s"
msgstr "%s% von %s"
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
msgid "quota_"

View File

@ -6090,7 +6090,7 @@ msgstr "Quotas du compte AlternC"
#: ../class/m_quota.php:78
#, php-format
msgid "%s%% of %s"
msgstr "%s%% de %s"
msgstr "%s% de %s"
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
msgid "quota_"

View File

@ -6075,7 +6075,7 @@ msgstr "Toon mijn quota's"
#: ../class/m_quota.php:78
#, php-format
msgid "%s%% of %s"
msgstr "%s%% van %s"
msgstr "%s% van %s"
#: ../class/m_quota.php:78 ../class/m_quota.php:106 ../class/m_quota.php:197
msgid "quota_"