{"action":"opened","issue":{"url":"https://api.github.com/repos/aristova/Adduser/issues/1","labels_url":"https://api.github.com/repos/aristova/Adduser/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/aristova/Adduser/issues/1/comments","events_url":"https://api.github.com/repos/aristova/Adduser/issues/1/events","html_url":"https://github.com/aristova/Adduser/issues/1","id":73422103,"number":1,"title":"Проблема с переменной $startSum у юзеров, у которых она не заполнена","user":{"login":"aristova","id":5613338,"avatar_url":"https://avatars.githubusercontent.com/u/5613338?v=3","gravatar_id":"","url":"https://api.github.com/users/aristova","html_url":"https://github.com/aristova","followers_url":"https://api.github.com/users/aristova/followers","following_url":"https://api.github.com/users/aristova/following{/other_user}","gists_url":"https://api.github.com/users/aristova/gists{/gist_id}","starred_url":"https://api.github.com/users/aristova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aristova/subscriptions","organizations_url":"https://api.github.com/users/aristova/orgs","repos_url":"https://api.github.com/users/aristova/repos","events_url":"https://api.github.com/users/aristova/events{/privacy}","received_events_url":"https://api.github.com/users/aristova/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T20:26:43Z","updated_at":"2015-05-05T20:26:43Z","closed_at":null,"body":"//Добавить проверку на заполнение поля\r\n$startSum = $userFriend->field_sum_spent_by_invited_['und'][0]['value'];\r\ndrupal_set_message ($startSum);\r\nif (isset($startSum)){\r\n $userFriend->field_sum_spent_by_invited_['und'][0]['value'] = $userTotalPrice2 + $startSum;\r\n}\r\n else{\r\n\r\n$userFriend->field_sum_spent_by_invited_['und'][0]['value'] = $userTotalPrice2;\r\n}\r\n\r\n\r\nuser_save($userFriend);"}}