Bug fixes

This commit is contained in:
dignajar 2015-07-05 15:00:34 -03:00
parent 9f81946701
commit a6aa1776c4
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
Diego Najar Diego Najar
————————— —————————
ToDO ToDO list
- Social links: Google+, Facebook y Twitter - Social links: Google+, Facebook y Twitter
- Plugins: Edit databases from Dashboard - Plugins: Edit databases from Dashboard
- Plugins: SEO, Tinymce, - Plugins: SEO, Tinymce,

View File

@ -19,14 +19,14 @@ function buildPost($key)
// Post object. // Post object.
$Post = new Post($key); $Post = new Post($key);
if( !$Post->isValid() ) { if( !$Post->isValid() ) {
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from file with key'.$key); Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from file with key: '.$key);
return false; return false;
} }
// Page database. // Page database.
$db = $dbPosts->getDb($key); $db = $dbPosts->getDb($key);
if( !$db ) { if( !$db ) {
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from database with key'.$key); Log::set(__METHOD__.LOG_SEP.'Error occurred when trying build the post from database with key: '.$key);
return false; return false;
} }