Skip to content

Commit

Permalink
Fixed bug in CP image <div>
Browse files Browse the repository at this point in the history
  • Loading branch information
slackero committed Aug 7, 2014
1 parent 79475d2 commit 1974016
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/inc_front/content.article.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
// include content part code section
if($crow["acontent_type"] != 30) {

@include(PHPWCMS_ROOT."/include/inc_front/content/cnt".$crow["acontent_type"].".article.inc.php");
include(PHPWCMS_ROOT."/include/inc_front/content/cnt".$crow["acontent_type"].".article.inc.php");

} elseif($crow["acontent_type"] == 30 && is_file($phpwcms['modules'][$crow["acontent_module"]]['path'].'inc/cnt.article.php')) {

Expand Down
2 changes: 1 addition & 1 deletion include/inc_front/content/cnt29.article.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
}

$img_landscape = null;
if(strpos($image['tmpl_entry'], '[LANDSCAPE') !== false)) {
if(strpos($image['tmpl_entry'], '[LANDSCAPE') !== false) {
$img_landscape = false;
if(is_file(PHPWCMS_ROOT.'/'.PHPWCMS_FILES.$image['images'][$key][2] . '.' . $image['images'][$key][3])) {
$img_landscape = @getimagesize(PHPWCMS_ROOT.'/'.PHPWCMS_FILES.$image['images'][$key][2] . '.' . $image['images'][$key][3]);
Expand Down
2 changes: 1 addition & 1 deletion include/inc_lib/revision/revision.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
**/
define('PHPWCMS_VERSION', '1.7.4');
define('PHPWCMS_RELEASE_DATE', '2014/08/05');
define('PHPWCMS_RELEASE_DATE', '2014/08/07');
define('PHPWCMS_REVISION', '537');

?>

0 comments on commit 1974016

Please sign in to comment.