Changeset 5135 for trunk/library/csstidy/class.csstidy.php
- Timestamp:
- 11/03/11 13:26:45 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/csstidy/class.csstidy.php
r4414 r5135 667 667 elseif($string{$i} == ';' || $pn) 668 668 { 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') 670 670 { 671 671 $this->sub_value_arr[] = trim($this->sub_value); … … 932 932 * @version 1.0 933 933 */ 934 function is_important(&$value)934 static function is_important(&$value) 935 935 { 936 936 return (!strcasecmp(substr(str_replace($GLOBALS['csstidy']['whitespace'],'',$value),-10,10),'!important')); … … 944 944 * @version 1.0 945 945 */ 946 function gvw_important($value)946 static function gvw_important($value) 947 947 { 948 948 if(csstidy::is_important($value))
Note: See TracChangeset
for help on using the changeset viewer.