hundeprofile sind jetzt öffentlich
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-11-01 19:53:36 +01:00
parent 46cf4dcd40
commit 4794f46add
2 changed files with 69 additions and 57 deletions

View File

@ -209,12 +209,12 @@ class Dogs extends Page {
{
$dogid = $this->params[0];
$d = new Dog();
$res = new Result();
if(!$d->isMyDog($dogid))
return 'Not your dog :(';
//if(!$d->isMyDog($dogid))
// return 'Not your dog :(';
$d->load($dogid);
$this->set('ismydog',$d->isMyDog($dogid));
$this->set('results', $d->getResults());
$this->set('dogdata', $d->data);
$this->set('dogid', $dogid);