Skip to content

Commit

Permalink
20B140
Browse files Browse the repository at this point in the history
Update Includes:
* fix for the annoying problem where new lines were not treated as <br> by the Markdown parser
* important fix for SetSiteData to ensure that a Channel's visibility was properly set when a password existed
  • Loading branch information
matigo committed Feb 14, 2020
1 parent ccdc52a commit 5057dda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author Jason F. Irwin
*/

define('APP_VER', '20A281'); // The Application Version
define('APP_VER', '20B140'); // The Application Version
define('CSS_VER', '197'); // The CSS Update Version
define('SQL_VER', '001'); // The SQL Update Version
define('SQL_HASH', '35.357|578467a7-2505-0163-0024-16b9233914f1'); // The Hash Expected of the Database
Expand Down
2 changes: 1 addition & 1 deletion lib/posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ private function _getMarkdownHTML( $text, $post_id, $isNote = false, $showLinkUR
$doBR = ( $fixed != '' && $last != '' && $thisLine != '' ) ? true : false;

// Are we working with a table?
if ( mb_strpos($thisLine, '--') >= 0 && mb_strpos($thisLine, '|') >= 0 ) { $inTable = true; }
if ( mb_strpos($thisLine, '--') !== false && mb_strpos($thisLine, '|') !== false ) { $inTable = true; }
if ( NoNull($thisLine) == '' ) { $inTable = false; }

// If We Have What Looks Like a List, Prep It Accordingly
Expand Down
1 change: 1 addition & 0 deletions sql/site/spSetSiteData.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ BEGIN
/* Set the Channel and Site details, including the version */
UPDATE `Channel` ch INNER JOIN `Site` si ON ch.`site_id` = si.`id`
SET ch.`name` = LEFT(`in_site_name`, 128),
ch.`privacy_type` = `in_privacy_type`,
si.`name` = LEFT(`in_site_name`, 128),
si.`description` = LEFT(`in_site_descr`, 255),
si.`keywords` = LEFT(`in_site_keys`, 255),
Expand Down

0 comments on commit 5057dda

Please sign in to comment.