Fix alignment
This commit is contained in:
parent
6026d2b9bf
commit
c601d20b57
|
@ -606,8 +606,8 @@ function wc_price( $price, $args = array() ) {
|
|||
* @return int
|
||||
*/
|
||||
function wc_let_to_num( $size ) {
|
||||
$l = substr( $size, -1 );
|
||||
$ret = (int) substr( $size, 0, -1 );
|
||||
$l = substr( $size, -1 );
|
||||
$ret = (int) substr( $size, 0, -1 );
|
||||
switch ( strtoupper( $l ) ) {
|
||||
case 'P':
|
||||
$ret *= 1024;
|
||||
|
|
Loading…
Reference in New Issue