Преглед изворни кода

ZF-9756: "Undefined variable: lines" Zend_Console_Getopt getUsageMessage() line 623

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22191 44c647ce-9c0f-0410-b52a-842ac1e357ba
jan пре 15 година
родитељ
комит
b98d107c07
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      library/Zend/Console/Getopt.php

+ 1 - 0
library/Zend/Console/Getopt.php

@@ -594,6 +594,7 @@ class Zend_Console_Getopt
     {
         $usage = "Usage: {$this->_progname} [ options ]\n";
         $maxLen = 20;
+        $lines = array();
         foreach ($this->_rules as $rule) {
             $flags = array();
             if (is_array($rule['alias'])) {