Small change in work with categories
- single style includes
- clean code
Update db->select()
- add message when $from is empty
- param check
Single style select from db -> use db->select()
Change select("id")+getRecordCount to select("count(id)")+getValue
Single style select from db -> use db->select()
Remove excess db->getRecordCount()
Check correct use db->getValue()
Move check from code to select
Remove the extra query in save_content.processor.php
Convert db->getRow to db->getValue when only one column in query
Lost fixes made previously
Restore $resourceArray declaration
Merge pull request #184 from Segr/develop

Update code