Commit c644b5a9 authored by Dieudonne Timma Meyatchie's avatar Dieudonne Timma Meyatchie
Browse files

Ingredient Anzeige eingefügt..!!

parent 7c2c1ae0
......@@ -116,11 +116,11 @@ class THMReversCookings
if(count($result)==0)
return null;
$rand = 0;
$rands = 0;
if(count($result)>1){
$max = count($result)-1;
$rand = rand(0, $max);
$rands = rand(0, $max);
}
return $result[$rand];
return $result[$rands];
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment