contao/test — Issue #1124: A minus sign before return value
Author: tsarma
Created: 2011-11-29 07:23:41+00:00
State: open
Labels: Defect, Invalid

Hi Leo,
There is a minus sign before returned value in function 'basename_natcasercmp' in file functions.php. (TL274 / TL275)
I hope this is not an error, but a just lack of my knowledge in php.
>

```
> /**
> * Compare two file names using a case insensitive, reverse "natural order" algorithm
> * `param string
> * `param string
> * @return integer
> */
> function basename_natcasercmp($a, $b)
> {
>	return - strnatcasecmp(basename($a), basename($b));
> }
>
>
```

Thanks for the CMS

--- _Originally created on October 30th, 2009, at 05:00pm (ID 1124)_