dever преди 3 години
родител
ревизия
13c2fe6b6a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>';