Einzelnen Beitrag anzeigen
Alt 12.03.10, 13:48   #5 (permalink)
easteregg
Member of Honour
Themenstarter
 
Benutzerbild von easteregg
 
Registriert seit: 14.09.07
easteregg Leistung: Pentium Ieasteregg Leistung: Pentium I
easteregg eine Nachricht über ICQ schicken
Likes: 62
Standard

ich hat das mal reportet um zu gucken was die php jungs zu sagen:

Zitat:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Please see php.net7operators for the Operator Precedence.What happensis
that in



$order .= ' ' . ($this->data["order"] == 1) ? "desc" : "asc";



The expression



' ' . ($this->data["order"] == 1)



will be evaluated first. Depending on the result "desc" or"asc" will be
evaluated and returned.



Use parenthesis:



$order .= ' ' . (($this->data["order"] == 1) ? "desc" : "asc");
das macht sinn und is daher in meiner config richtig, aber wieso macht deine php5.3.1 was anderes draus?
__________________
» Flattr mich! - Wenn dir mein Beitrag geholfen hat! «
<| 2 AMD Opterons 2384@ 8x3,2ghz | Tyan S2915 | 10GB | 2x 8800GT | 8400GS | Dell 3008WFP + 2x2007FP |>
easteregg ist offline   Mit Zitat antworten
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61