Skip to content

Commit

Permalink
fix jquerey check
Browse files Browse the repository at this point in the history
template_engine in 2k11 is set to null, which is still set
  • Loading branch information
onli committed Apr 28, 2014
1 parent 918bd8f commit 0688064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions_config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function serendipity_getTemplateFile($file, $key = 'serendipityHTTPPath') {
$directories = array();

$directories[] = isset($serendipity['template']) ? $serendipity['template'] . '/' : '';
if (isset($serendipity['template_engine'])) {
if (isset($serendipity['template_engine']) && $serendipity['template_engine'] != null) {
$p = explode(',', $serendipity['template_engine']);
foreach($p AS $te) {
$directories[] = trim($te) . '/';
Expand Down

0 comments on commit 0688064

Please sign in to comment.