Permalink
Browse files

update for issue #2

  • Loading branch information...
bueltge committed Apr 26, 2012
1 parent 11f8254 commit 9558a2b67a312d84f69398231e36191adb85b3f4
Showing with 7 additions and 4 deletions.
  1. +7 −4 debug_objects.php
View
@@ -10,11 +10,11 @@
* Text Domain: debug_objects
* Domain Path: /languages
* Description: List filter and action-hooks, cache data, defined constants, qieries, included scripts and styles, php and memory informations and return of conditional tags only for admins; for debug, informations or learning purposes. Setting output in the settings of the plugin and use output via setting or url-param '<code>debug</code>' or set a cookie via url param '<code>debugcookie</code>' in days
- * Version: 2.1.6
+ * Version: 2.1.7
* License: GPLv3
* Author: Frank B&uuml;ltge
* Author URI: http://bueltge.de/
- * Last Change: 04/10/2012
+ * Last Change: 04/26/2012
*/
// error_reporting(E_ALL);
@@ -107,8 +107,11 @@ private function init_classes() {
$view = FALSE;
// exclude options from include classes
- foreach ( self :: $exclude_class as $exclude_class )
- unset( $options[ strtolower( $exclude_class ) ] );
+ foreach ( self :: $exclude_class as $exclude_class ) {
+
+ if ( isset( $options[ strtolower( $exclude_class ) ] ) )
+ unset( $options[ strtolower( $exclude_class ) ] );
+ }
if ( ! empty( $options ) ) {
foreach ( $options as $class => $check ) {

0 comments on commit 9558a2b

Please sign in to comment.