[TYPO3-core] strcmp expects parameter 2 to be string

Stefan Frömken firma at sfroemken.de
Mon Sep 21 11:37:30 CEST 2009


Am 21.09.2009 11:29, schrieb Martin Kutschker:
> Stefan Frömken schrieb:
>> In extension manager->language settings I get following error when I
>> choose a language and click on save:
>>
>> Warning: strcmp() expects parameter 2 to be string, array given in
>> C:\xampp_webserver\htdocs\t3lib\class.t3lib_befunc.php on line 2909
>>
>> I found this row:
>>
>> if (is_array($CHANGED_SETTINGS)&&  isset($CHANGED_SETTINGS[$key])&&
>> strcmp($settings[$key], $CHANGED_SETTINGS[$key])) {
>>
>> and changed it with
>>
>> if (is_array($CHANGED_SETTINGS)&&  isset($CHANGED_SETTINGS[$key])&&
>> strcmp($settings[$key], (string)$CHANGED_SETTINGS[$key])) {
>>
>> now it works.
>>
>> TYPO3 current trunk 4.3-dev on PHP 5.3.0 on XAMPP 1.7.2
>
> Hey Steffen,
>
> Now that you have gone so far not only to find a bug, but also fix it,
> it would be great if you could take the last step and follow the
> lists-rule. Hint: have a look at the thread subjects and the structure
> of thread starters.
>
> Masi

list-rules? structure? Give me a link and I will read it. Perhabs there 
will be explained what these +1 means...

I only find this one:
http://typo3.org/community/mailing-lists/mailing-list-rules-guidelines/
"No attachments!"...but I can found attachmanets in nearly every thread.

Is it better to create a bugreport for this?

froemken


More information about the TYPO3-team-core mailing list