From 8de12fa9020c46e464f7f927c1d70b8a19a5d099 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Mon, 16 Mar 2015 21:53:41 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E6=8E=A8=E8=96=A6=E5=AD=B8=E7=BF=92?= =?UTF-8?q?=E9=BB=9E=E6=99=82=E7=9A=84=E5=85=B6=E4=BB=96=E7=8B=80=E6=B3=81?= =?UTF-8?q?=EF=BC=88=E5=AD=B8=E7=BF=92=E5=AE=8C=E6=88=90=E3=80=81=E6=99=82?= =?UTF-8?q?=E9=96=93=E5=B7=B2=E9=81=8E=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/api/v2/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/api/v2/index.php b/htdocs/api/v2/index.php index 5d1dd55..1ad0bf7 100644 --- a/htdocs/api/v2/index.php +++ b/htdocs/api/v2/index.php @@ -1225,14 +1225,14 @@ $app->group('/tokens', 'APIrequest', function () use ($app, $app_template) { if($sact->isForceLearnTime() && $sact->getRemainingTime() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } // 是否已經學完了 else if($sact->getRemainingPointTotal() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } else { @@ -1368,14 +1368,14 @@ $app->group('/tokens', 'APIrequest', function () use ($app, $app_template) { if($sact->isForceLearnTime() && $sact->getRemainingTime() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } // 是否已經學完了 else if($sact->getRemainingPointTotal() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } else {