#82867 by RobRoy. Two variables were not initialized.

5.x
Neil Drumm 2006-09-08 23:13:00 +00:00
parent 75c5ec2b39
commit 989f978b9a
1 changed files with 2 additions and 0 deletions

View File

@ -1429,6 +1429,7 @@ function system_status($check = FALSE) {
* Theme status report * Theme status report
*/ */
function theme_status_report(&$requirements) { function theme_status_report(&$requirements) {
$i = 0;
$output = '<table class="system-status-report">'; $output = '<table class="system-status-report">';
foreach ($requirements as $requirement) { foreach ($requirements as $requirement) {
if ($requirement['#type'] == '') { if ($requirement['#type'] == '') {
@ -1727,6 +1728,7 @@ function system_admin_compact_mode() {
* @themeable * @themeable
*/ */
function theme_admin_page($blocks) { function theme_admin_page($blocks) {
$stripe = 0;
foreach ($blocks as $block) { foreach ($blocks as $block) {
if ($block_output = theme('admin_block', $block)) { if ($block_output = theme('admin_block', $block)) {
if (!$block['position']) { if (!$block['position']) {