Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
3 changed files with 16 additions and 16 deletions
Showing only changes of commit 3c41682d73 - Show all commits

View File

@ -126,12 +126,12 @@ class Collection extends BaseController {
$data = $this->request->post->get();
if ( ! array_key_exists('hummingbird_id', $data))
{
$this->redirect("collection/view", 303, "anime");
$this->redirect("collection/view", 303);
}
$this->anime_collection_model->update($data);
$this->redirect("collection/view", 303, "anime");
$this->redirect("collection/view", 303);
}
/**
@ -144,12 +144,12 @@ class Collection extends BaseController {
$data = $this->request->post->get();
if ( ! array_key_exists('id', $data))
{
$this->redirect("collection/view", 303, "anime");
$this->redirect("collection/view", 303);
}
$this->anime_collection_model->add($data);
$this->redirect("collection/view", 303, "anime");
$this->redirect("collection/view", 303);
}
}
// End of CollectionController.php

View File

@ -22,14 +22,14 @@ class Container implements ContainerInterface {
/**
* Array with class instances
*
* @var ArrayObject
* @var array
*/
protected $container = [];
/**
* Map of logger instances
*
* @var ArrayObject
* @var array
*/
protected $loggers = [];