Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-07-21 13:21:26 +0400
committerMichal Čihař <mcihar@suse.cz>2011-07-21 13:21:26 +0400
commit48e9af42e089c6d130c5b4559e2e590b33f22625 (patch)
treeeeac69e9e1f57a037b683b25e890949812544412 /tbl_tracking.php
parentbc0a10b8319e42fe97c7d2e78409a4247271d43d (diff)
Add missing space after foreach calls
Diffstat (limited to 'tbl_tracking.php')
-rw-r--r--tbl_tracking.php10
1 files changed, 5 insertions, 5 deletions
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'])) {
<tbody>
<?php
$style = 'odd';
- foreach($columns as $field_index => $field) {
+ foreach ($columns as $field_index => $field) {
?>
<tr class="noclick <?php echo $style; ?>">
<?php