Bug 15414: Silencing warns triggered by creating a new layout in patron card creator
authorAleisha <aleishaamohia@hotmail.com>
Mon, 25 Apr 2016 23:08:49 +0000 (23:08 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 11:35:39 +0000 (11:35 +0000)
commitd989615c3272b61dcc3fae2bf3397035caee499d
treed8e1ad12be72f4528adfd212d15970e0916c6936
parentf01bc2bc4674799980bb27ef5a4a27b3f4ba1466
Bug 15414: Silencing warns triggered by creating a new layout in patron card creator

This patch assigns $field and $image values in the for loops

To test:
1) Go to Tools -> Patron Card Creator -> New layout
2) Notice warns
3) Apply patch and refresh page
4) Notice warns are gone and page still works as expected

Sponsored-by: Catalyst IT
NOTE: Trivial initialization in a loop issue.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
patroncards/edit-layout.pl