diff --git a/classes/fActiveRecord.php b/classes/fActiveRecord.php index 39b08daf..80486fe6 100644 --- a/classes/fActiveRecord.php +++ b/classes/fActiveRecord.php @@ -1045,7 +1045,7 @@ protected function prepare($column, $formatting=NULL) // Turn like-breaks into breaks for text fields and add links if ($formatting === TRUE && in_array($column_type, array('varchar', 'char', 'text'))) { - return fHTML::createLinks(fHTML::convertNewlines(fHTML::prepare($value))); + return fHTML::makeLinks(fHTML::convertNewlines(fHTML::prepare($value))); } // Anything that has gotten to here is a string value, or is not the diff --git a/classes/fHTML.php b/classes/fHTML.php index 47a7c312..3a115914 100644 --- a/classes/fHTML.php +++ b/classes/fHTML.php @@ -23,7 +23,7 @@ class fHTML * @param string $content The HTML content to check * @return boolean If the content contains a block level tag */ - static public function checkForBlockLevelHTML($content) + static public function containsBlockLevelHTML($content) { static $inline_tags = '