rabin %!s(int64=2) %!d(string=hai) anos
pai
achega
5abb099498
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/shop/src/My.php

+ 1 - 0
app/shop/src/My.php

@@ -24,6 +24,7 @@ class My extends Core
 		//$this->data['card_num'] = Dever::db('card/code')->total(array('dh_uid' => $this->uid));
 		$this->data['card_num'] = 0;
 		if ($card) {
+			$time = time();
 			foreach ($card as $k => $v) {
 				$v['info'] = Dever::db('card/info')->find($v['card_id']);
                 if (!$v['info']) {