code cleanup

This commit is contained in:
Marc Delisle
2009-12-29 14:04:05 +00:00
parent b2dfe50969
commit 7b3c21b599
2 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
* @package phpMyAdmin-Import
*/
if (!defined('PHPMYADMIN')) {
if (! defined('PHPMYADMIN')) {
exit;
}
@@ -62,7 +62,7 @@ for ($s = 0; $s < $num_sheets; ++$s) {
for ($c = 0; $c < $num_cols; ++$c) {
$cell = $current_sheet->getCellByColumnAndRow($c, $r)->getCalculatedValue();
if (!strcmp($cell, '')) {
if (! strcmp($cell, '')) {
$cell = 'NULL';
}
@@ -77,7 +77,7 @@ for ($s = 0; $s < $num_sheets; ++$s) {
$col_names = array_splice($rows, 0, 1);
$col_names = $col_names[0];
for ($j = 0; $j < $num_cols; ++$j) {
if (!strcmp('NULL', $col_names[$j])) {
if (! strcmp('NULL', $col_names[$j])) {
$col_names[$j] = PMA_getColumnAlphaName($j + 1);
}
}

View File

@@ -8,7 +8,7 @@
* @package phpMyAdmin-Import
*/
if (!defined('PHPMYADMIN')) {
if (! defined('PHPMYADMIN')) {
exit;
}
@@ -62,7 +62,7 @@ for ($s = 0; $s < $num_sheets; ++$s) {
for ($c = 0; $c < $num_cols; ++$c) {
$cell = $current_sheet->getCellByColumnAndRow($c, $r)->getCalculatedValue();
if (!strcmp($cell, '')) {
if (! strcmp($cell, '')) {
$cell = 'NULL';
}
@@ -77,7 +77,7 @@ for ($s = 0; $s < $num_sheets; ++$s) {
$col_names = array_splice($rows, 0, 1);
$col_names = $col_names[0];
for ($j = 0; $j < $num_cols; ++$j) {
if (!strcmp('NULL', $col_names[$j])) {
if (! strcmp('NULL', $col_names[$j])) {
$col_names[$j] = PMA_getColumnAlphaName($j + 1);
}
}