between years fix

This commit is contained in:
Torsten 2018-12-28 08:54:56 +01:00
parent 90c6d60ecd
commit 157b9d8b5e
53 changed files with 46 additions and 3772 deletions

View file

@ -143,7 +143,13 @@ class User extends Authenticatable
// OPTIMIZED VERSION FOR hasMissingTipp
public static function getMissingTippsAndJokers($users) {
$round = Round::getFirstTippableRound();
if (!$round) return false;
if (!$round) {
$result=array();
$result["MISSING_TIPP"]=array();
$result["MISSING_JOKER"]=array();
return $result;
}
$tippClock=new TimeLogger("User::getMissingTippsAndJokers()");
Log::info($tippClock->getStartMessage());