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
—————————
ToDO
ToDO list
- Social links: Google+, Facebook y Twitter
- Plugins: Edit databases from Dashboard
- Plugins: SEO, Tinymce,

View File

@ -19,14 +19,14 @@ function buildPost($key)
// Post object.
$Post = new Post($key);
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;
}
// Page database.
$db = $dbPosts->getDb($key);
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;
}