From 48e9af42e089c6d130c5b4559e2e590b33f22625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 21 Jul 2011 11:21:26 +0200 Subject: Add missing space after foreach calls --- tbl_tracking.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tbl_tracking.php') diff --git a/tbl_tracking.php b/tbl_tracking.php index b612885a14..29cf83a487 100644 --- a/tbl_tracking.php +++ b/tbl_tracking.php @@ -63,7 +63,7 @@ if (isset($_REQUEST['report_export'])) { function PMA_filter_tracking($data, $filter_ts_from, $filter_ts_to, $filter_users) { $tmp_entries = array(); $id = 0; - foreach( $data as $entry ) { + foreach ( $data as $entry ) { $timestamp = strtotime($entry['date']); if ($timestamp >= $filter_ts_from && $timestamp <= $filter_ts_to && @@ -108,7 +108,7 @@ if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'sqldumpfil $dump = "# " . sprintf(__('Tracking report for table `%s`'), htmlspecialchars($_REQUEST['table'])) . "\n" . "# " . date('Y-m-d H:i:s') . "\n"; - foreach($entries as $entry) { + foreach ($entries as $entry) { $dump .= $entry['statement']; } $filename = 'log_' . htmlspecialchars($_REQUEST['table']) . '.sql'; @@ -202,7 +202,7 @@ if (isset($_REQUEST['submit_activate_now'])) { // Export as SQL execution if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'execution') { - foreach($entries as $entry) { + foreach ($entries as $entry) { $sql_result = PMA_DBI_query( "/*NOTRACK*/\n" . $entry['statement'] ); } $msg = PMA_Message::success(__('SQL statements executed.')); @@ -218,7 +218,7 @@ if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'sqldump') "USE pma_temp_db; \n" . "\n"; - foreach($entries as $entry) { + foreach ($entries as $entry) { $new_query .= $entry['statement']; } $msg = PMA_Message::success(__('SQL statements exported. Please copy the dump or execute it.')); @@ -275,7 +275,7 @@ if (isset($_REQUEST['snapshot'])) { $field) { + foreach ($columns as $field_index => $field) { ?>