diff -u zoph-0.6/debian/changelog zoph-0.6/debian/changelog --- zoph-0.6/debian/changelog +++ zoph-0.6/debian/changelog @@ -1,3 +1,9 @@ +zoph (0.6-2.1ubuntu2) feisty; urgency=low + + * Fix bug #90398 with backport from 7.0.2 (cvs of zoph) + + -- Niklas Klein Fri, 7 Sep 2007 13:45:42 +0200 + zoph (0.6-2.1ubuntu1) gutsy; urgency=low * Backport changes from 0.7.0.1 to fix a SQL injection vulnerability only in patch2: unchanged: --- zoph-0.6.orig/php/import.inc.php +++ zoph-0.6/php/import.inc.php @@ -135,18 +135,20 @@ if (file_exists($directory) == false) { if (mkdir($directory, DIR_MODE)) { echo translate("Created directory") . ": $directory
\n"; - return 0; + return true; } else { echo translate("Could not create directory") . ": $directory
\n"; - return -1; + return false; } } + return 0; } function create_dir_recursive($directory){ foreach(split('/',$directory) as $subdir) { - return create_dir($nextdir="$nextdir$subdir/"); + $result=create_dir($nextdir="$nextdir$subdir/"); } + return $result; } ?>