cvs: php-gtk-doc /scripts genchapterents.php.in
| From: | Andrei Zmievski | Date: | Mon, 26 Jul 2004 20:48:19 +0000 |
| Subject: | cvs: php-gtk-doc /scripts genchapterents.php.in | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-938@lists.php.net to get a copy of this message | ||
andrei Mon Jul 26 16:48:19 2004 EDT
Modified files:
/php-gtk-doc/scripts genchapterents.php.in
Log:
Fix the notice.
http://cvs.php.net/diff.php/php-gtk-doc/scripts/genchapterents.php.in?r1=1.18&r2=1.19&ty=u
Index: php-gtk-doc/scripts/genchapterents.php.in
diff -u php-gtk-doc/scripts/genchapterents.php.in:1.18
php-gtk-doc/scripts/genchapterents.php.in:1.19
--- php-gtk-doc/scripts/genchapterents.php.in:1.18 Fri May 2 13:03:40 2003
+++ php-gtk-doc/scripts/genchapterents.php.in Mon Jul 26 16:48:19 2004
@@ -3,9 +3,9 @@
$lang = 'UTF8dir/@LANG@';
$entities = array();
-if($argv[1])
+if (!empty($argv[1]))
$dir = "../$argv[1]";
- else
+else
$dir = "../$lang";
function gen_ent($path, $file, $lang)