@@ -933,7 +933,7 @@ |
||
| 933 | 933 | $map[$row['locale.id']] = $row; |
| 934 | 934 | } |
| 935 | 935 | |
| 936 | - return $map ; |
|
| 936 | + return $map; |
|
| 937 | 937 | } |
| 938 | 938 | |
| 939 | 939 | |
@@ -556,10 +556,10 @@ |
||
| 556 | 556 | $cfgPathSearch = 'mshop/locale/manager/language/search'; |
| 557 | 557 | |
| 558 | 558 | /** mshop/locale/manager/language/count/mysql |
| 559 | - * Counts the number of records matched by the given criteria in the database |
|
| 560 | - * |
|
| 561 | - * @see mshop/locale/manager/language/count/ansi |
|
| 562 | - */ |
|
| 559 | + * Counts the number of records matched by the given criteria in the database |
|
| 560 | + * |
|
| 561 | + * @see mshop/locale/manager/language/count/ansi |
|
| 562 | + */ |
|
| 563 | 563 | |
| 564 | 564 | /** mshop/locale/manager/language/count/ansi |
| 565 | 565 | * Counts the number of records matched by the given criteria in the database |
@@ -765,7 +765,7 @@ |
||
| 765 | 765 | $icode = '"' . $icode . '"'; |
| 766 | 766 | } |
| 767 | 767 | |
| 768 | - $cols[] = $icode . ' AS "' . $entry->getCode() . '"'; |
|
| 768 | + $cols[] = $icode . ' AS "' . $entry->getCode() . '"'; |
|
| 769 | 769 | $group[] = $icode; |
| 770 | 770 | } |
| 771 | 771 | |
@@ -139,8 +139,7 @@ discard block |
||
| 139 | 139 | foreach( $columns as $name ) { |
| 140 | 140 | $names .= '"' . $name . '", '; $values .= '?, '; |
| 141 | 141 | } |
| 142 | - } |
|
| 143 | - else |
|
| 142 | + } else |
|
| 144 | 143 | { |
| 145 | 144 | foreach( $columns as $name ) { |
| 146 | 145 | $names .= '"' . $name . '" = ?, '; |
@@ -921,8 +920,7 @@ discard block |
||
| 921 | 920 | */ |
| 922 | 921 | $path = $this->getConfigKey( 'insert' ); |
| 923 | 922 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
| 924 | - } |
|
| 925 | - else |
|
| 923 | + } else |
|
| 926 | 924 | { |
| 927 | 925 | /** mshop/common/manager/update/mysql |
| 928 | 926 | * Updates an existing record in the database |