Automattic/Ad-Code-Manager — pull request #22 by jeremyfelt (2012-04-20 04:05:45+00:00)
Title: Fix PHP warning with empty list table

PHP was throwing a warning "array_slice() expects parameter 1 to be
array, boolean given", when $this->items was empty.

Add a check for an empty array and return early if it matches. Allows the
no records found message to display.