{"action":"opened","issue":{"url":"https://api.github.com/repos/bezumkin/pdoTools/issues/169","labels_url":"https://api.github.com/repos/bezumkin/pdoTools/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/bezumkin/pdoTools/issues/169/comments","events_url":"https://api.github.com/repos/bezumkin/pdoTools/issues/169/events","html_url":"https://github.com/bezumkin/pdoTools/issues/169","id":120712738,"number":169,"title":"Заменить $this->config['class'] на alias","user":{"login":"Fi1osof","id":2550668,"avatar_url":"https://avatars.githubusercontent.com/u/2550668?v=3","gravatar_id":"","url":"https://api.github.com/users/Fi1osof","html_url":"https://github.com/Fi1osof","followers_url":"https://api.github.com/users/Fi1osof/followers","following_url":"https://api.github.com/users/Fi1osof/following{/other_user}","gists_url":"https://api.github.com/users/Fi1osof/gists{/gist_id}","starred_url":"https://api.github.com/users/Fi1osof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fi1osof/subscriptions","organizations_url":"https://api.github.com/users/Fi1osof/orgs","repos_url":"https://api.github.com/users/Fi1osof/repos","events_url":"https://api.github.com/users/Fi1osof/events{/privacy}","received_events_url":"https://api.github.com/users/Fi1osof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-07T07:03:03Z","updated_at":"2015-12-07T07:03:03Z","closed_at":null,"body":"Василий, вот от такого лучше избавляться: https://github.com/bezumkin/pdoTools/blob/master/core/components/pdotools/model/pdotools/pdofetch.class.php#L310\r\nЕсли передать class \"sources.modMediaSource\", к примеру, то в таком случае запрос получится select `sources.modMediaSource`.`id`..., что приведет к SQL-ошибке."}}