fixed my account downloadables out of order
This commit is contained in:
parent
4afeb7926c
commit
c5deab6fe6
|
@ -622,7 +622,7 @@ class WC_Customer {
|
||||||
permissions.access_expires >= %s
|
permissions.access_expires >= %s
|
||||||
)
|
)
|
||||||
GROUP BY permissions.download_id
|
GROUP BY permissions.download_id
|
||||||
ORDER BY permissions.order_id, permissions.product_id, permissions.download_id;
|
ORDER BY permissions.order_id, permissions.product_id, permissions.permission_id;
|
||||||
", get_current_user_id(), date( 'Y-m-d', current_time( 'timestamp' ) ) ) );
|
", get_current_user_id(), date( 'Y-m-d', current_time( 'timestamp' ) ) ) );
|
||||||
|
|
||||||
if ( $results ) {
|
if ( $results ) {
|
||||||
|
|
Loading…
Reference in New Issue