mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 02:36:54 +00:00 
			
		
		
		
	Squashed commit
Always execute migration 9999 (can be used to fix things manually) Optimized meal plan navigation / date range filtering Prepared next release Pulled translations from Transifex Various code optimizations
This commit is contained in:
		| @@ -63,8 +63,8 @@ class RecipesService extends BaseService | ||||
| 		} | ||||
|  | ||||
| 		$transactionId = uniqid(); | ||||
| 		$recipePositions = $this->getDatabase()->recipes_pos_resolved()->where('recipe_id', $recipeId)->fetchAll(); | ||||
|  | ||||
| 		$recipePositions = $this->getDatabase()->recipes_pos_resolved()->where('recipe_id', $recipeId)->fetchAll(); | ||||
| 		foreach ($recipePositions as $recipePosition) | ||||
| 		{ | ||||
| 			if ($recipePosition->only_check_single_unit_in_stock == 0) | ||||
| @@ -129,11 +129,6 @@ class RecipesService extends BaseService | ||||
| 		return $lastInsertId; | ||||
| 	} | ||||
|  | ||||
| 	public function __construct() | ||||
| 	{ | ||||
| 		parent::__construct(); | ||||
| 	} | ||||
|  | ||||
| 	private function RecipeExists($recipeId) | ||||
| 	{ | ||||
| 		$recipeRow = $this->getDataBase()->recipes()->where('id = :1', $recipeId)->fetch(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user