[AppDB] screnshots fix

Jonathan Ernst Jonathan at ErnstFamily.ch
Mon Dec 13 21:39:03 CST 2004


This patch fixes problem with the screenshot code on the live server (a 
blank page is displayed).

CHANGELOG:
- fixes bug in screenshots.php

File changed:
- screenshots.php
-------------- next part --------------
Index: screenshots.php
===================================================================
RCS file: /home/wine/appdb/screenshots.php,v
retrieving revision 1.5
diff -u -r1.5 screenshots.php
--- screenshots.php	14 Dec 2004 02:27:58 -0000	1.5
+++ screenshots.php	14 Dec 2004 03:20:21 -0000
@@ -128,7 +128,7 @@
                     echo html_frame_end();
                 }
                 $currentVersionId=$ob->versionId;
-                echo html_frame_start("Version ".$app->getAppVersion($ob->versionId)->versionName);
+                echo html_frame_start("Version ".lookupVersionName($_REQUEST['appId'], $currentVersionId));
                 echo "<div align=center><table><tr>\n";
             }
             // set img tag


More information about the wine-patches mailing list