Bug fixes
This commit is contained in:
parent
9f81946701
commit
a6aa1776c4
@ -1,8 +1,7 @@
|
||||
Diego Najar
|
||||
|
||||
—————————
|
||||
|
||||
ToDO
|
||||
ToDO list
|
||||
- Social links: Google+, Facebook y Twitter
|
||||
- Plugins: Edit databases from Dashboard
|
||||
- Plugins: SEO, Tinymce,
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user