Warning (2): Missing argument 1 for PostsController::hashtag() [ROOTappROOTControllerROOTPostsController.php, line 441]Code Context }
public function hashtag($hashtag) {
PostsController::hashtag() - ROOTappROOTControllerROOTPostsController.php, line 441
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - ROOTappROOTwebrootROOTindex.php, line 108
Notice (8): Undefined variable: hashtag [ROOTappROOTControllerROOTPostsController.php, line 445]Code Context
//sukamy tego tagu
if($hashtag = $this->Post->Tag->find('first', array('conditions'=>array('Tag.slug'=>$hashtag)))){
PostsController::hashtag() - ROOTappROOTControllerROOTPostsController.php, line 445
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - ROOTappROOTwebrootROOTindex.php, line 108