Ignore:
Timestamp:
11/03/11 13:26:45 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus. Library: bibliotecas de terceiros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/csstidy/class.csstidy.php

    r4414 r5135  
    667667                elseif($string{$i} == ';' || $pn) 
    668668                { 
    669                     if($this->selector{0} == '@' && isset($at_rules[substr($this->selector,1)]) && $at_rules[substr($this->selector,1)] == 'iv') 
     669                    if(( isset($this->selector{0}) && $this->selector{0} == '@') && isset($at_rules[substr($this->selector,1)]) && $at_rules[substr($this->selector,1)] == 'iv') 
    670670                    { 
    671671                        $this->sub_value_arr[] = trim($this->sub_value); 
     
    932932 * @version 1.0 
    933933 */ 
    934 function is_important(&$value) 
     934static function is_important(&$value) 
    935935{ 
    936936        return (!strcasecmp(substr(str_replace($GLOBALS['csstidy']['whitespace'],'',$value),-10,10),'!important')); 
     
    944944 * @version 1.0 
    945945 */ 
    946 function gvw_important($value) 
     946static function gvw_important($value) 
    947947{ 
    948948        if(csstidy::is_important($value)) 
Note: See TracChangeset for help on using the changeset viewer.