Cleanup: Fix repeated array casting, fix variable name conflict
authorTimo Tijhof <ttijhof@wikimedia.org>
Fri, 29 Jun 2012 00:52:09 +0000 (02:52 +0200)
committerTimo Tijhof <ttijhof@wikimedia.org>
Fri, 29 Jun 2012 00:52:09 +0000 (02:52 +0200)
commit50ed4912db27b0e0c26914d1bac4f896574f11ca
treeb5fbcc61e2df62ebb648657ce45d702818690611
parent6cb31865a1bb4472b74ff2b116b99ac16fe98416
Cleanup: Fix repeated array casting, fix variable name conflict

* No need to cast to array twice
* Should cast to array before doing count()
* Avoid variable name conflict in the for loop with the one outside
  the loop for clarity.

  No functional changes.

Change-Id: I93e7829e23372ea25e2f5123f7a990b6718663f3
includes/OutputPage.php