{"action":"created","comment":{"url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments/35861259","id":35861259,"diff_hunk":"@@ -70,23 +70,23 @@ $this->headLink()\n                     </tr>\n                     <tr>\n                         <td><?= $this->translate('Focal length') ?></td>\n-                        <td><?= $photo->getFocalLength() ?></td>\n+                        <td><?= is_null($photo->getFocalLength()) ? $this->translate(\"Unknown\") : $photo->getFocalLength() ?></td>\n                     </tr>\n                     <tr>\n                         <td><?= $this->translate('Exposure time') ?></td>\n-                        <td><?= $photo->getExposureTime() ?></td>\n+                        <td><?= is_null($photo->getExposureTime()) ? $this->translate(\"Unknown\") : $photo->getExposureTime() ?></td>\n                     </tr>\n                     <tr>\n                         <td><?= $this->translate('Shutter speed') ?></td>\n-                        <td><?= $photo->getShutterSpeed() ?></td>\n+                        <td><?= is_null($photo->getShutterSpeed()) ? $this->translate(\"Unknown\") : $photo->getShutterSpeed() ?></td>\n                     </tr>\n                     <tr>\n                         <td><?= $this->translate('Aperture') ?></td>\n-                        <td><?= $photo->getAperture() ?></td>\n+                        <td><?= is_null($photo->getAperture()) ? $this->translate(\"Unknown\") : $photo->getAperture() ?></td>\n                     </tr>\n                     <tr>\n                         <td><?= $this->translate('ISO') ?></td>\n-                        <td><?= $photo->getIso() ?></td>\n+                        <td><?= is_null($photo->getIso()) ? $this->translate(\"Unknown\") : $photo->getIso() ?></td>","path":"module/Photo/view/photo/photo-admin/index.phtml","position":39,"original_position":39,"commit_id":"397f1c9c7f9fc36adcae1551dd65605adbf76e1a","original_commit_id":"397f1c9c7f9fc36adcae1551dd65605adbf76e1a","user":{"login":"kokx","id":138556,"avatar_url":"https://avatars.githubusercontent.com/u/138556?v=3","gravatar_id":"","url":"https://api.github.com/users/kokx","html_url":"https://github.com/kokx","followers_url":"https://api.github.com/users/kokx/followers","following_url":"https://api.github.com/users/kokx/following{/other_user}","gists_url":"https://api.github.com/users/kokx/gists{/gist_id}","starred_url":"https://api.github.com/users/kokx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokx/subscriptions","organizations_url":"https://api.github.com/users/kokx/orgs","repos_url":"https://api.github.com/users/kokx/repos","events_url":"https://api.github.com/users/kokx/events{/privacy}","received_events_url":"https://api.github.com/users/kokx/received_events","type":"User","site_admin":false},"body":"Waarom wordt dit (en alles hierboven) niet ge-escaped?","created_at":"2015-07-30T11:28:38Z","updated_at":"2015-07-30T11:28:38Z","html_url":"https://github.com/GEWIS/gewisweb/pull/154#discussion_r35861259","pull_request_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154","_links":{"self":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments/35861259"},"html":{"href":"https://github.com/GEWIS/gewisweb/pull/154#discussion_r35861259"},"pull_request":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154","id":41219354,"html_url":"https://github.com/GEWIS/gewisweb/pull/154","diff_url":"https://github.com/GEWIS/gewisweb/pull/154.diff","patch_url":"https://github.com/GEWIS/gewisweb/pull/154.patch","issue_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/154","number":154,"state":"open","locked":false,"title":"Photo: issue #136","user":{"login":"jszanto","id":7968933,"avatar_url":"https://avatars.githubusercontent.com/u/7968933?v=3","gravatar_id":"","url":"https://api.github.com/users/jszanto","html_url":"https://github.com/jszanto","followers_url":"https://api.github.com/users/jszanto/followers","following_url":"https://api.github.com/users/jszanto/following{/other_user}","gists_url":"https://api.github.com/users/jszanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jszanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jszanto/subscriptions","organizations_url":"https://api.github.com/users/jszanto/orgs","repos_url":"https://api.github.com/users/jszanto/repos","events_url":"https://api.github.com/users/jszanto/events{/privacy}","received_events_url":"https://api.github.com/users/jszanto/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-30T10:33:28Z","updated_at":"2015-07-30T11:28:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ef123d3278807e1804e422078d6a9f078fa5054","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154/commits","review_comments_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154/comments","review_comment_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/154/comments","statuses_url":"https://api.github.com/repos/GEWIS/gewisweb/statuses/397f1c9c7f9fc36adcae1551dd65605adbf76e1a","head":{"label":"jszanto:issue136","ref":"issue136","sha":"397f1c9c7f9fc36adcae1551dd65605adbf76e1a","user":{"login":"jszanto","id":7968933,"avatar_url":"https://avatars.githubusercontent.com/u/7968933?v=3","gravatar_id":"","url":"https://api.github.com/users/jszanto","html_url":"https://github.com/jszanto","followers_url":"https://api.github.com/users/jszanto/followers","following_url":"https://api.github.com/users/jszanto/following{/other_user}","gists_url":"https://api.github.com/users/jszanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jszanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jszanto/subscriptions","organizations_url":"https://api.github.com/users/jszanto/orgs","repos_url":"https://api.github.com/users/jszanto/repos","events_url":"https://api.github.com/users/jszanto/events{/privacy}","received_events_url":"https://api.github.com/users/jszanto/received_events","type":"User","site_admin":false},"repo":{"id":21141807,"name":"gewisweb","full_name":"jszanto/gewisweb","owner":{"login":"jszanto","id":7968933,"avatar_url":"https://avatars.githubusercontent.com/u/7968933?v=3","gravatar_id":"","url":"https://api.github.com/users/jszanto","html_url":"https://github.com/jszanto","followers_url":"https://api.github.com/users/jszanto/followers","following_url":"https://api.github.com/users/jszanto/following{/other_user}","gists_url":"https://api.github.com/users/jszanto/gists{/gist_id}","starred_url":"https://api.github.com/users/jszanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jszanto/subscriptions","organizations_url":"https://api.github.com/users/jszanto/orgs","repos_url":"https://api.github.com/users/jszanto/repos","events_url":"https://api.github.com/users/jszanto/events{/privacy}","received_events_url":"https://api.github.com/users/jszanto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jszanto/gewisweb","description":"GEWIS Website","fork":true,"url":"https://api.github.com/repos/jszanto/gewisweb","forks_url":"https://api.github.com/repos/jszanto/gewisweb/forks","keys_url":"https://api.github.com/repos/jszanto/gewisweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jszanto/gewisweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jszanto/gewisweb/teams","hooks_url":"https://api.github.com/repos/jszanto/gewisweb/hooks","issue_events_url":"https://api.github.com/repos/jszanto/gewisweb/issues/events{/number}","events_url":"https://api.github.com/repos/jszanto/gewisweb/events","assignees_url":"https://api.github.com/repos/jszanto/gewisweb/assignees{/user}","branches_url":"https://api.github.com/repos/jszanto/gewisweb/branches{/branch}","tags_url":"https://api.github.com/repos/jszanto/gewisweb/tags","blobs_url":"https://api.github.com/repos/jszanto/gewisweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jszanto/gewisweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jszanto/gewisweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/jszanto/gewisweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jszanto/gewisweb/statuses/{sha}","languages_url":"https://api.github.com/repos/jszanto/gewisweb/languages","stargazers_url":"https://api.github.com/repos/jszanto/gewisweb/stargazers","contributors_url":"https://api.github.com/repos/jszanto/gewisweb/contributors","subscribers_url":"https://api.github.com/repos/jszanto/gewisweb/subscribers","subscription_url":"https://api.github.com/repos/jszanto/gewisweb/subscription","commits_url":"https://api.github.com/repos/jszanto/gewisweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/jszanto/gewisweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/jszanto/gewisweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/jszanto/gewisweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/jszanto/gewisweb/contents/{+path}","compare_url":"https://api.github.com/repos/jszanto/gewisweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jszanto/gewisweb/merges","archive_url":"https://api.github.com/repos/jszanto/gewisweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jszanto/gewisweb/downloads","issues_url":"https://api.github.com/repos/jszanto/gewisweb/issues{/number}","pulls_url":"https://api.github.com/repos/jszanto/gewisweb/pulls{/number}","milestones_url":"https://api.github.com/repos/jszanto/gewisweb/milestones{/number}","notifications_url":"https://api.github.com/repos/jszanto/gewisweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jszanto/gewisweb/labels{/name}","releases_url":"https://api.github.com/repos/jszanto/gewisweb/releases{/id}","created_at":"2014-06-23T20:47:12Z","updated_at":"2015-05-05T19:46:50Z","pushed_at":"2015-07-30T10:59:04Z","git_url":"git://github.com/jszanto/gewisweb.git","ssh_url":"git@github.com:jszanto/gewisweb.git","clone_url":"https://github.com/jszanto/gewisweb.git","svn_url":"https://github.com/jszanto/gewisweb","homepage":null,"size":2553,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"feature/photo-module"}},"base":{"label":"GEWIS:master","ref":"master","sha":"50ac156c1f5250b48b21d1761f8adb63e1b628a9","user":{"login":"GEWIS","id":1815510,"avatar_url":"https://avatars.githubusercontent.com/u/1815510?v=3","gravatar_id":"","url":"https://api.github.com/users/GEWIS","html_url":"https://github.com/GEWIS","followers_url":"https://api.github.com/users/GEWIS/followers","following_url":"https://api.github.com/users/GEWIS/following{/other_user}","gists_url":"https://api.github.com/users/GEWIS/gists{/gist_id}","starred_url":"https://api.github.com/users/GEWIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEWIS/subscriptions","organizations_url":"https://api.github.com/users/GEWIS/orgs","repos_url":"https://api.github.com/users/GEWIS/repos","events_url":"https://api.github.com/users/GEWIS/events{/privacy}","received_events_url":"https://api.github.com/users/GEWIS/received_events","type":"Organization","site_admin":false},"repo":{"id":16512277,"name":"gewisweb","full_name":"GEWIS/gewisweb","owner":{"login":"GEWIS","id":1815510,"avatar_url":"https://avatars.githubusercontent.com/u/1815510?v=3","gravatar_id":"","url":"https://api.github.com/users/GEWIS","html_url":"https://github.com/GEWIS","followers_url":"https://api.github.com/users/GEWIS/followers","following_url":"https://api.github.com/users/GEWIS/following{/other_user}","gists_url":"https://api.github.com/users/GEWIS/gists{/gist_id}","starred_url":"https://api.github.com/users/GEWIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEWIS/subscriptions","organizations_url":"https://api.github.com/users/GEWIS/orgs","repos_url":"https://api.github.com/users/GEWIS/repos","events_url":"https://api.github.com/users/GEWIS/events{/privacy}","received_events_url":"https://api.github.com/users/GEWIS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GEWIS/gewisweb","description":"GEWIS Website","fork":false,"url":"https://api.github.com/repos/GEWIS/gewisweb","forks_url":"https://api.github.com/repos/GEWIS/gewisweb/forks","keys_url":"https://api.github.com/repos/GEWIS/gewisweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GEWIS/gewisweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GEWIS/gewisweb/teams","hooks_url":"https://api.github.com/repos/GEWIS/gewisweb/hooks","issue_events_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/events{/number}","events_url":"https://api.github.com/repos/GEWIS/gewisweb/events","assignees_url":"https://api.github.com/repos/GEWIS/gewisweb/assignees{/user}","branches_url":"https://api.github.com/repos/GEWIS/gewisweb/branches{/branch}","tags_url":"https://api.github.com/repos/GEWIS/gewisweb/tags","blobs_url":"https://api.github.com/repos/GEWIS/gewisweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GEWIS/gewisweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GEWIS/gewisweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/GEWIS/gewisweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GEWIS/gewisweb/statuses/{sha}","languages_url":"https://api.github.com/repos/GEWIS/gewisweb/languages","stargazers_url":"https://api.github.com/repos/GEWIS/gewisweb/stargazers","contributors_url":"https://api.github.com/repos/GEWIS/gewisweb/contributors","subscribers_url":"https://api.github.com/repos/GEWIS/gewisweb/subscribers","subscription_url":"https://api.github.com/repos/GEWIS/gewisweb/subscription","commits_url":"https://api.github.com/repos/GEWIS/gewisweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/GEWIS/gewisweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/GEWIS/gewisweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/GEWIS/gewisweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/GEWIS/gewisweb/contents/{+path}","compare_url":"https://api.github.com/repos/GEWIS/gewisweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GEWIS/gewisweb/merges","archive_url":"https://api.github.com/repos/GEWIS/gewisweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GEWIS/gewisweb/downloads","issues_url":"https://api.github.com/repos/GEWIS/gewisweb/issues{/number}","pulls_url":"https://api.github.com/repos/GEWIS/gewisweb/pulls{/number}","milestones_url":"https://api.github.com/repos/GEWIS/gewisweb/milestones{/number}","notifications_url":"https://api.github.com/repos/GEWIS/gewisweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GEWIS/gewisweb/labels{/name}","releases_url":"https://api.github.com/repos/GEWIS/gewisweb/releases{/id}","created_at":"2014-02-04T13:22:05Z","updated_at":"2015-05-06T10:10:51Z","pushed_at":"2015-07-30T11:27:06Z","git_url":"git://github.com/GEWIS/gewisweb.git","ssh_url":"git@github.com:GEWIS/gewisweb.git","clone_url":"https://github.com/GEWIS/gewisweb.git","svn_url":"https://github.com/GEWIS/gewisweb","homepage":null,"size":3306,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":43,"forks":10,"open_issues":43,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154"},"html":{"href":"https://github.com/GEWIS/gewisweb/pull/154"},"issue":{"href":"https://api.github.com/repos/GEWIS/gewisweb/issues/154"},"comments":{"href":"https://api.github.com/repos/GEWIS/gewisweb/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GEWIS/gewisweb/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/GEWIS/gewisweb/statuses/397f1c9c7f9fc36adcae1551dd65605adbf76e1a"}}}}