mac 1 settimana fa
parent
commit
f15abe827c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/controller/UserController.php

+ 2 - 2
app/controller/UserController.php

@@ -320,11 +320,11 @@ class UserController
             }
         }
 
-        $has47 = Db::table('wa_stream')
+        $has53 = Db::table('wa_stream')
             ->where('user_id', $request->user_data['id'])
             ->where('type', streamType53)
             ->exists();
-        if (empty($has47)) {
+        if (empty($has53)) {
             StreamBusiness::addStream($request->user_data['id'], 10000000, streamType53, moldType23, moldTypefild23);
             StreamBusiness::addStream($request->user_data['id'], 66000, streamType53, moldType22, moldTypefild22);
             StreamBusiness::addStream($request->user_data['id'], 10000000, streamType53, moldType10, moldTypefild10);