Fixing type checking bug where blocks would not get sorted correctly on admin page
authoryoung hahn
Mon, 9 Jun 2008 22:26:35 +0000 (22:26 +0000)
committeryoung hahn
Mon, 9 Jun 2008 22:26:35 +0000 (22:26 +0000)
context_ui/context_ui_admin.inc

index 0a8fb10..377c004 100644 (file)
@@ -609,7 +609,7 @@ function _context_ui_get_blocks($region = null, $context = null) {
   }
   
   foreach ($blocks as $r => &$sort_region) {
-    if ($r != 0) {
+    if ($r !== 0) {
       uasort($sort_region, "_context_ui_block_compare");
     }
   }