cvs: phpdoc /scripts check-trans.php
| From: | Yannick Torres | Date: | Sun, 15 Feb 2009 11:57:54 +0000 |
| Subject: | cvs: phpdoc /scripts check-trans.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3255@lists.php.net to get a copy of this message | ||
yannick Sun Feb 15 11:57:54 2009 UTC
Modified files:
/phpdoc/scripts check-trans.php
Log:
kill one more notice
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/check-trans.php?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/scripts/check-trans.php
diff -u phpdoc/scripts/check-trans.php:1.16 phpdoc/scripts/check-trans.php:1.17
--- phpdoc/scripts/check-trans.php:1.16 Wed Dec 31 06:40:11 2008
+++ phpdoc/scripts/check-trans.php Sun Feb 15 11:57:54 2009
@@ -847,7 +847,7 @@
preg_match_all("/<ooclass><classname>(.*?)<\/classname><\/ooclass>/s",
$match[1][$i], $match2);
- $en_classsynopsis[$i]['ooclass']['classname'] = $match2[1][0];
+ ( isset($match2[1][0]) ) ? $en_classsynopsis[$i]['ooclass']['classname'] =
$match2[1][0] : $en_classsynopsis[$i]['ooclass']['classname'] = '';
preg_match_all("/<fieldsynopsis><type>(.*?)<\/type><varname>(.*?)<\/varname><\/fieldsynopsis>/s",
$match[1][$i], $match2);
@@ -864,7 +864,7 @@
preg_match_all("/<ooclass><classname>(.*?)<\/classname><\/ooclass>/s",
$match[1][$i], $match2);
- $lang_classsynopsis[$i]['ooclass']['classname'] = $match2[1][0];
+ ( isset($match2[1][0]) ) ? $lang_classsynopsis[$i]['ooclass']['classname'] =
$match2[1][0] : $lang_classsynopsis[$i]['ooclass']['classname'] = '';
preg_match_all("/<fieldsynopsis><type>(.*?)<\/type><varname>(.*?)<\/varname><\/fieldsynopsis>/s",
$match[1][$i], $match2);