Getting existing talks err.
authorhiroto
Wed, 04 Sep 2013 13:07:30 +0900
changeset 43 a77cb505f5e3
parent 42 43ebcb1b5f8d
child 44 7fb399f217bd
Getting existing talks err.
autotweet-php/src/Org/W3/AutotweetBundle/Entity/TalkRepository.php
--- a/autotweet-php/src/Org/W3/AutotweetBundle/Entity/TalkRepository.php	Wed Sep 04 13:00:28 2013 +0900
+++ b/autotweet-php/src/Org/W3/AutotweetBundle/Entity/TalkRepository.php	Wed Sep 04 13:07:30 2013 +0900
@@ -73,9 +73,8 @@
         $qb = $em_default->createQueryBuilder();
         $q  = $qb->select(array('a'))
            ->from('OrgW3AutotweetBundle:Talk', 'a')
-           ->where('a.startedAt != ?1')
+           ->where('a.startedAt IS NOT null')
            ->getQuery();
-        $q->setParameters(array(1 => null));
         $talks = $q->getResult();
          return $talks;
     }