Small mistake in the previous commit

pull/217/head
Iglocska 2013-06-07 02:49:08 +02:00
parent 22284d04d1
commit 4f249d21d6
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ class EventsController extends AppController {
$existingEvent = $this->Event->findByUuid($this->request->data['Event']['uuid']);
if (count($existingEvent)) {
$this->request->data['Event']['id'] = $existingEvent['Event']['id'];
if (isset($existingEvent['Event']['timestamp'])) {
if (isset($this->request->data['Event']['timestamp'])) {
if ($this->request->data['Event']['timestamp'] > $existingEvent['Event']['timestamp']) {
} else {