Commit 0950c539 authored by Siddharth Sheth's avatar Siddharth Sheth
Browse files

[Fix t3o_mom errir ]

parent 254661ac
Pipeline #6838 failed with stages
in 11 seconds
...@@ -17,12 +17,9 @@ namespace T3o\T3oMom\Domain\Repository; ...@@ -17,12 +17,9 @@ namespace T3o\T3oMom\Domain\Repository;
*/ */
class T3MomRepository extends \TYPO3\CMS\Extbase\Persistence\Repository class T3MomRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
{ {
public function filterByTeam($team = null) public function filterByTeam($team = null)
{ {
$main = []; $main = [];
$query = $this->createQuery(); $query = $this->createQuery();
if ($team == 0) { if ($team == 0) {
} else { } else {
...@@ -33,11 +30,7 @@ class T3MomRepository extends \TYPO3\CMS\Extbase\Persistence\Repository ...@@ -33,11 +30,7 @@ class T3MomRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
) )
); );
} }
$result = $query->execute(); $result = $query->execute();
//debug::var_dump($result);die;
return $result; return $result;
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment