Not quating TrueFals
authorhiroto
Wed, 04 Sep 2013 16:35:04 +0900
changeset 49 fc1f736d9cbe
parent 48 45605100dd6f
child 51 6ca4bfdb5788
child 57 fa15305752e1
Not quating TrueFals
autotweet-php/src/Org/W3/AutotweetBundle/Controller/DefaultController.php
--- a/autotweet-php/src/Org/W3/AutotweetBundle/Controller/DefaultController.php	Wed Sep 04 16:04:11 2013 +0900
+++ b/autotweet-php/src/Org/W3/AutotweetBundle/Controller/DefaultController.php	Wed Sep 04 16:35:04 2013 +0900
@@ -42,12 +42,12 @@
         if(null!=$key){
         $talk = $this->getDoctrine()->getRepository('OrgW3AutotweetBundle:Talk')->findOneBy(array('accesskey'=>$key));
 	if(0!=count($talk)){
-            $valid='true';
+            $valid=true;
         }else{
-            $valid='false';
+            $valid=false;
         }
         }else{
-            $valid='false';
+            $valid=false;
         }
         $response = new JsonResponse();
         $response->headers->set('Access-Control-Allow-Origin','*');