Skip to content

Commit eda89b0

Browse files
authored
Merge pull request #4 from sanampatel/patch-1
Fixed getMargins to accept the parameter
2 parents f915af0 + c16aa98 commit eda89b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kiteconnect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public function getProfile() {
334334
* @return array
335335
*/
336336
public function getMargins($segment = null) {
337-
if ($segment) {
337+
if (!$segment) {
338338
return $this->_get("user.margins");
339339
}
340340

0 commit comments

Comments
 (0)