]> git.mxchange.org Git - friendica.git/blobdiff - include/Smilies.php
Fix SQL date format bug in dfrn
[friendica.git] / include / Smilies.php
index 9cb2d6f2b5093ba704afa125220d51b8d149b41d..d67b92d8b00f60a4e38ab0664510adb794b336ae 100644 (file)
@@ -122,7 +122,7 @@ class Smilies {
         * @param string $s
         * @param boolean $sample
         * 
-        * @return string
+        * @return string HML Output of the Smilie
         */
        public static function replace($s, $sample = false) {
                if(intval(get_config('system','no_smilies'))
@@ -165,7 +165,9 @@ class Smilies {
         * @brief expand <3333 to the correct number of hearts
         *
         * @param string $x
-        * @return string
+        * @return string HTML Output
+        * 
+        * @todo: Rework because it doesn't work correctly
         */
        private function preg_heart($x) {
                if(strlen($x[1]) == 1)