frontend update + fixes

This commit is contained in:
2017-09-13 01:12:07 +02:00
parent 565b2113a5
commit 2ba04b92d7
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -4,9 +4,7 @@ echo "-- Preparing WWW files --"
[[ -e html ]] && rm -r html [[ -e html ]] && rm -r html
cd front-end ESP_PROD=1 front-end/build.sh
ESP_PROD=1 sh ./build.sh
cd ..
echo "Copying from submodule..." echo "Copying from submodule..."
+1 -1
View File
@@ -23,7 +23,7 @@ foreach ($pieces as $piece) {
} }
} }
if ($argv[1]) { if (isset($argv[1])) {
$key = $argv[1]; $key = $argv[1];
uasort($table, function($a, $b) use ($key) { uasort($table, function($a, $b) use ($key) {
$av = $a[$key] ?? 0; $av = $a[$key] ?? 0;