Add sanity checks to BSPrinterNavigation when setting focus or sections
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 14 Jan 2008 22:04:29 +0000 (17:04 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 14 Jan 2008 22:04:29 +0000 (17:04 -0500)
commite4cee770391bfd93d3e12c7fc1baa97c50a49c74
tree4ee404e61d89c80b9810c814925d1cd0e09ba5a2
parent4ba8c613471a04b972878a9a5c654a0251b44570
Add sanity checks to BSPrinterNavigation when setting focus or sections

* PrinterNavigation.php
(BSPrinterNavigation::addFocus): Make sure the key is unique and exists before accepting it
(BSPrinterNavigation::addSection): ditto
PrinterNavigation.php