From 6a440168162d5ac64c7aa2c59d6803d78b1c2d0d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 16 Apr 2006 18:40:27 +0000 Subject: [PATCH] Throw an error when the key is invalid --- printer_navigation.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/printer_navigation.php b/printer_navigation.php index 65dec1a..f50bbdc 100644 --- a/printer_navigation.php +++ b/printer_navigation.php @@ -183,6 +183,10 @@ class Printer_Navigation { $this->focus["$scope"] = $key; } + else + { + trigger_error('Invalid key for scope', E_USER_WARNING); + } } // ################################################################### -- 2.22.5