dever il y a 3 ans
Parent
commit
13c2fe6b6a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      service/option/lib/Account.php

+ 1 - 1
service/option/lib/Account.php

@@ -125,7 +125,7 @@ class Account
             $option_aid .= '&search_audit=' . $search_audit;
         }
 
-        if ($member['type'] == 1) {
+        if ($member['main'] == 1) {
             $idcard_front = $idcard_back = '';
             if ($account['idcard_front']) {
                 $idcard_front = '<a href="'.$account['idcard_front'].'" target="_blank"><img src="'.$account['idcard_front'].'" width="150" /></a>';