dancannon/PHP-WowApi — Issue #32: fix for recipe api and client.php
Author: markl181
Created: 2011-12-30 13:26:24+00:00
State: open

I had to comment out a few lines to get this to work. Here's what I have in the client.php for the new code

public function getRecipeApi()
{
if (!$this->apis->has('recipes')) {
$this->apis->set('recipes', new Recipes($this));
;
}

return $this->apis->get('recipes');
}

There was also a spelling mistake in this line in one of the api-specific files that I fixed: 'recipe/:recipeId', array(
'recipeId' => (int)$recipeId)