Skip to content

Commit

Permalink
syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
takeit committed Mar 27, 2014
1 parent 5ded22a commit fad4107
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O
->andWhere('e.notify = :notify')
->andWhere('l.created > :logTimestamp')
->getQuery()
->setparameters(array(
->setParameters(array(
'logTimestamp' => $logTimestamp,
'notify' => 'Y'
))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O
$tpl->assign('subs_expire_date', $formatedEndDate);
$tpl->assign('subs_remained_days', $remainedDays);
} else {
try { $sectionData = $this->em->getRepository('Newscoop\Entity\Section')
$sectionData = $this->em->getRepository('Newscoop\Entity\Section')
->createQueryBuilder('s')
->select('s.name, s.number')
->from('Newscoop\Subscription\Section', 'ss')
Expand All @@ -167,7 +167,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O
'language' => $subscription->getPublication()->getDefaultLanguage()
))
->getResult();
} catch (\Exception $e) {ladybug_dump($e->getMessage());die;}

if ($counter == 0) {
$tpl->assign('subs_expire_plan', 1);
}
Expand Down

0 comments on commit fad4107

Please sign in to comment.