Subversion Repositories SmartDukaan

Rev

Rev 11054 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11054 Rev 12053
Line 71... Line 71...
71
						$this->curlURL($response,'post',$post,$cartId);
71
						$this->curlURL($response,'post',$post,$cartId);
72
 
72
 
73
					}
73
					}
74
					else
74
					else
75
					{
75
					{
76
						
-
 
77
						$this->curlURL($response,'get',$get,$cartId);
76
						$this->curlURL($response,'get',$get,$cartId);
78
					}
77
					}
79
				}
78
				}
80
			}
79
			}
81
 
80
 
Line 139... Line 138...
139
		 		if (array_key_exists($value,$params)){
138
		 		if (array_key_exists($value,$params)){
140
    				$newparams[$value] = $params[$value];
139
    				$newparams[$value] = $params[$value];
141
    				$i++;
140
    				$i++;
142
				}
141
				}
143
		 	}
142
		 	}
144
		 	$params = $newparams;
143
		 	$params = $newparams;		 	 
145
		 }
144
		 }
146
 
145
 
147
		if(isset($cartId) && $cartId != null && $configurl != 'cartcoupon' && $configurl != 'cartcouponclear'){
146
		if(isset($cartId) && $cartId != null && $configurl != 'cartcoupon' && $configurl != 'cartcouponclear'){
148
			$url .= '/'.$cartId;
147
			$url .= '/'.$cartId;
149
		}
148
		}
-
 
149
		$url .= http_build_query($params);
150
		return $this->mcurl->add_call($configurl,$methodtype,$url,$params);
150
		return $this->mcurl->add_call($configurl,$methodtype,$url,$params);
151
	}
151
	}
152
	else
152
	else
153
		{return '';}
153
		{return '';}
154
 
154