@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | while( $row = $result->fetch() ) |
| 44 | 44 | { |
| 45 | - $key = substr( $row['domain'] . '|' . $row['type'] . '|' . $row['code'], 0, 255); |
|
| 45 | + $key = substr( $row['domain'] . '|' . $row['type'] . '|' . $row['code'], 0, 255 ); |
|
| 46 | 46 | $db2->update( 'mshop_attribute', ['key' => $key], ['id' => $row['id']] ); |
| 47 | 47 | } |
| 48 | 48 | |