Issue Bug Closed

#43919Fix one word in a PHP comment

Chris topher 12/12/12, 15:16 updated 10/02/18, 12:15

Description

In sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php (the file with the stdWrap functions) there is one comment saying

     * cropHTML
     * Crops content to a given size without caring abhout HTML tags
           (...)
    public function stdWrap_crop($content = '', $conf = array()) {

Two mistakes:

The first line of that comment should just read

      * crop

A function cropHTML exists as well, but this here is another one.

And a typo: “abhout” => “about”.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.