From: Iain Patterson Date: Thu, 10 Apr 2014 15:27:14 +0000 (-0400) Subject: Try harder to avoid duplicate order state IDs. X-Git-Tag: 2014-04-10~1 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=7cbf38d98e84961ccab6cd8213e322fa775a2b9e;hp=7cbf38d98e84961ccab6cd8213e322fa775a2b9e;p=readifood.git Try harder to avoid duplicate order state IDs. An order whose state was changed from delivered to something else then back to delivered might still appear in the order state array despite the presence of the hacked query to filter them out. We now run a secondary hack to remove them from the array. A better solution is needed here... ---