|
|
|
@ -51,11 +51,13 @@ class FormTemplate |
|
|
|
*/ |
|
|
|
public static function isEnroll($template_type,$activities_id) |
|
|
|
{ |
|
|
|
global $_W; |
|
|
|
#$template_type = self::$template_relation[$template_type]; |
|
|
|
|
|
|
|
$where = [ |
|
|
|
'template_type' => $template_type, |
|
|
|
'activities_id' => $activities_id |
|
|
|
'activities_id' => $activities_id, |
|
|
|
'mid' => $_W['mid'] |
|
|
|
]; |
|
|
|
$res = pdo_get(PDO_NAME . 'member_enroll',$where); |
|
|
|
return $res ?: []; |
|
|
|
|