Skip to content
This repository was archived by the owner on May 18, 2020. It is now read-only.

Commit d5ebd5b

Browse files
committed
modified sender_update() function in wrapper
1 parent 592447f commit d5ebd5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Wrapper/Mailin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ public function create_sender($data)
742742
*/
743743
public function update_sender($data)
744744
{
745+
$id = $data['id'];
746+
unset($data['id']);
745747
return $this->put("advanced/".$id,json_encode($data));
746748
}
747749

0 commit comments

Comments
 (0)