diff --git a/core/includes/ajax.inc b/core/includes/ajax.inc index d9879a4..46eb897 100644 --- a/core/includes/ajax.inc +++ b/core/includes/ajax.inc @@ -243,7 +243,7 @@ function ajax_render($commands = array()) { // loaded. It probably indicates an error, and rather than making the page // reload all of the files, instead we return no new files. $state = $request->request->get('ajax_page_state[' . $type . ']', FALSE, TRUE); - if ($state) { + if (empty($state)) { $items[$type] = array(); } else {