Author Topic: Bug or ?- declaration  (Read 4401 times)

0 Members and 1 Guest are viewing this topic.

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Bug or ?- declaration
« on: December 30, 2007, 06:29:40 PM »
HI,

one question:

i found a code in details.php (Version 1.7.4):

Code: [Select]
    $cat_id_sql = $cat_id_sql !== 0 ? "AND cat_id IN ($cat_id_sql)" : "";
  }
  else {
    $cat_id_sql = get_auth_cat_sql("auth_viewcat", "NOTIN");
    $cat_id_sql = $cat_id_sql !== 0 ? "AND cat_id NOT IN (".$cat_id_sql.")" : "";
  }


I don't understund it.
Bug, or what is the declaration about:
Code: [Select]
!==


Thanks
KurtW

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Bug or ?- declaration
« Reply #1 on: December 30, 2007, 06:41:54 PM »
Is no bug ... is mean: no equal to . ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Bug or ?- declaration
« Reply #2 on: December 30, 2007, 07:09:48 PM »
ok, thanks...

KurtW

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Bug or ?- declaration
« Reply #3 on: December 31, 2007, 11:08:02 AM »
Ungleichheit, typgenau   !==   
$a!==$b   gibt true zurück, wenn beide Werte oder Typen ungleich sind

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Bug or ?- declaration
« Reply #4 on: December 31, 2007, 11:47:42 AM »
man lernt nie aus...  :wink:

KurtW