LearningLocker/learninglocker — pull request #285 by ht2 (2014-07-22 08:42:15+00:00)
Title: Fix for empty array parameters in Analytics

If an empty array was passed an an argument to a filter, it would pass the condition set on line 214 and error when looking for the 0 offset on line 216. We now check that the array has at least one value before proceeding. Otherwise, we will pass the empty array as the argument to line 226.