Commit 50a0b08e authored by okhin's avatar okhin 🚴

Forgot to init a variable

parent 7dc48ed2
Pipeline #2302 passed with stages
in 17 seconds
...@@ -421,6 +421,8 @@ class Admin extends Controller ...@@ -421,6 +421,8 @@ class Admin extends Controller
if (count($user) >= 1 and is_array($user)) { if (count($user) >= 1 and is_array($user)) {
// On a un utilisateur, cool // On a un utilisateur, cool
// On crée une contrepartie, si son cumul est suffisant // On crée une contrepartie, si son cumul est suffisant
$needed = 0;
switch ($quoi) { switch ($quoi) {
case 'hoodie': case 'hoodie':
$needed = 250; $needed = 250;
......
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