From: <var...@us...> - 2012-12-12 10:38:57
|
Revision: 8657 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8657&view=rev Author: vargenau Date: 2012-12-12 10:38:49 +0000 (Wed, 12 Dec 2012) Log Message: ----------- Initialize variable Modified Paths: -------------- trunk/lib/upgrade.php Modified: trunk/lib/upgrade.php =================================================================== --- trunk/lib/upgrade.php 2012-12-11 17:46:32 UTC (rev 8656) +++ trunk/lib/upgrade.php 2012-12-12 10:38:49 UTC (rev 8657) @@ -885,6 +885,7 @@ if ($this->phpwiki_version >= 1030.12200610 and $this->isSQL) { echo _("Check for relation field in link table"), " ..."; $database = $this->dbi->_backend->database(); + $prefix = isset($DBParams['prefix']) ? $DBParams['prefix'] : ''; $link_tbl = $prefix . 'link'; $fields = $this->dbi->_backend->listOfFields($database, $link_tbl); if (!$fields) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |