dever %!s(int64=6) %!d(string=hai) anos
pai
achega
7bab15196f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Core.php

+ 1 - 1
lib/Core.php

@@ -85,7 +85,7 @@ class Core
 	{
 		$state = $order_id;
 		$db = Dever::db('pay/order');
-		if (!$order_id) {
+		if (!$state) {
 			$order_id = Dever::order();
 		}
 		$info = $db->one(array('order_id' => $order_id));