Changeset 3440087
Legend:
- Unmodified
- Added
- Removed
-
wcsdm/tags/3.0.4/legacy/classes/class-wcsdm-legacy-shipping-method.php
r3440081 r3440087 1983 1983 1984 1984 /*** Hours */ 1985 $hours = intval( ( intval( $duration )/ 3600 ) % 24 );1985 $hours = (int) ( ( $duration / 3600 ) % 24 ); 1986 1986 1987 1987 if ( $hours > 0 ) { … … 1991 1991 1992 1992 /*** Minutes */ 1993 $minutes = intval( ( intval( $duration )/ 60 ) % 60 );1993 $minutes = (int) ( ( $duration / 60 ) % 60 ); 1994 1994 1995 1995 if ( $minutes > 0 ) { -
wcsdm/trunk/legacy/classes/class-wcsdm-legacy-shipping-method.php
r3440081 r3440087 1983 1983 1984 1984 /*** Hours */ 1985 $hours = intval( ( intval( $duration )/ 3600 ) % 24 );1985 $hours = (int) ( ( $duration / 3600 ) % 24 ); 1986 1986 1987 1987 if ( $hours > 0 ) { … … 1991 1991 1992 1992 /*** Minutes */ 1993 $minutes = intval( ( intval( $duration )/ 60 ) % 60 );1993 $minutes = (int) ( ( $duration / 60 ) % 60 ); 1994 1994 1995 1995 if ( $minutes > 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.