--- 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','*');