Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Guest RSS-Bot

Важное с Sysman.Ru: Уязвимость от 16-го мая 2006-го года

Recommended Posts

Guest RSS-Bot

Song: Неофициальное обновление 1.x:

 

Найти:

Цитата (mod_cp.php)
        [b]if[/b] ([color=#048284]$ibforums[/color]->input['df'])        {            [color=#048284]$forums[/color] = preg_replace( "/<option value=\"".[color=#048284]$ibforums[/color]->input['df']."\"/", "<option value=\"".[color=#048284]$ibforums[/color]->input['df']."\" selected", [color=#048284]$forums[/color] );        }

Заменить на:

        [color=#048284]$ibforums[/color]->input['df'] = intval([color=#048284]$ibforums[/color]->input['df']);        [b]if[/b] ([color=#048284]$ibforums[/color]->input['df'])        {            [color=#048284]$forums[/color] = preg_replace( "/<option value=\"".[color=#048284]$ibforums[/color]->input['df']."\"/", "<option value=\"".[color=#048284]$ibforums[/color]->input['df']."\" selected", [color=#048284]$forums[/color] );        }

 

Найти:

Цитата (Post.php)
    [b]function[/b] html_post_icons([color=#048284]$post_icon[/color]="") {        [b]global[/b] [color=#048284]$ibforums[/color];                [b]if[/b] ([color=#048284]$ibforums[/color]->input['iconid'])        {            [color=#048284]$post_icon[/color] = [color=#048284]$ibforums[/color]->input['iconid'];        }

Заменить на:

    [b]function[/b] html_post_icons([color=#048284]$post_icon[/color]="") {        [b]global[/b] [color=#048284]$ibforums[/color];                [color=#048284]$post_icon[/color] = intval([color=#048284]$ibforums[/color]->input['iconid']);

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...