summaryrefslogtreecommitdiffstats
path: root/application/models/EventMapper.php
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-07 16:03:06 +0200
committerSebastian Wagner2011-10-07 16:03:06 +0200
commit8b2a50ce31b1acecc61f2c4ee0426c125b2f3cef (patch)
tree2320b26b26284d9191bccfff251363f67f950e2d /application/models/EventMapper.php
parentminor (diff)
downloadpoolctrl-8b2a50ce31b1acecc61f2c4ee0426c125b2f3cef.tar.gz
poolctrl-8b2a50ce31b1acecc61f2c4ee0426c125b2f3cef.tar.xz
poolctrl-8b2a50ce31b1acecc61f2c4ee0426c125b2f3cef.zip
minor
Diffstat (limited to 'application/models/EventMapper.php')
-rwxr-xr-xapplication/models/EventMapper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/models/EventMapper.php b/application/models/EventMapper.php
index 0995a2d..91fdc4a 100755
--- a/application/models/EventMapper.php
+++ b/application/models/EventMapper.php
@@ -286,8 +286,8 @@ class Application_Model_EventMapper
$result = $stmt->fetchAll(PDO::FETCH_NUM);
foreach ($result as $r) {
- $ret1 = array((int)$r[0],'Event over');
- $ret2 = array((int)$r[1],'Event not over');
+ $ret1 = array((int)$r[0],'over');
+ $ret2 = array((int)$r[1],'not over');
$return[] = array($ret1,$ret2);
}
@@ -322,8 +322,8 @@ class Application_Model_EventMapper
$result = $stmt->fetchAll(PDO::FETCH_NUM);
foreach ($result as $r) {
- $ret1 = array('Event over', (int)$r[0]);
- $ret2 = array('Event not over', (int)$r[1]);
+ $ret1 = array('over', (int)$r[0]);
+ $ret2 = array('not over', (int)$r[1]);
$return[] = array($ret1,$ret2);
}