Skip to content
Snippets Groups Projects
Commit 20c552b5 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V1.1.1: Fix warning

parent ddaba648
No related branches found
No related tags found
No related merge requests found
...@@ -333,7 +333,7 @@ class RulesShippingFrameworkWooCommerce extends RulesShippingFramework { ...@@ -333,7 +333,7 @@ class RulesShippingFrameworkWooCommerce extends RulesShippingFramework {
*/ */
static public function get_rule_shipping_methods() { static public function get_rule_shipping_methods() {
$unsortedmethods = get_posts (array ('posts_per_page' => '-1', 'post_type' => 'shipping_rules')); $unsortedmethods = get_posts (array ('posts_per_page' => '-1', 'post_type' => 'shipping_rules'));
$ordering = get_option( self::$_method_ordering ); $ordering = get_option( self::$_method_ordering, array() );
$methods = array(); $methods = array();
foreach ($ordering as $o) { foreach ($ordering as $o) {
foreach ($unsortedmethods as $key=>$m) { foreach ($unsortedmethods as $key=>$m) {
......
...@@ -69,6 +69,10 @@ Please see our support forum at http://open-tools.net/forum/. It might also be a ...@@ -69,6 +69,10 @@ Please see our support forum at http://open-tools.net/forum/. It might also be a
== Changelog == == Changelog ==
= 1.1.1 =
* Fix for PHP 5.3
* Fix for evaluate_for_XXX functions (advanced version)
= 1.1 = = 1.1 =
* Add time variables, Quantity/MaxQuantity/MinQuantity * Add time variables, Quantity/MaxQuantity/MinQuantity
......
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment