1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Quick media-manager fix.

This commit is contained in:
CaMer0n
2009-12-11 00:36:30 +00:00
parent abc0d5a7c6
commit 32657ae450
3 changed files with 41 additions and 11 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
| $Revision: 1.68 $
| $Date: 2009-12-10 21:26:53 $
| $Author: e107steved $
| $Revision: 1.69 $
| $Date: 2009-12-11 00:36:24 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -1084,10 +1084,10 @@ function addIndexToTable($target, $indexSpec, $just_check, &$updateMessages, $op
*/
function catch_error(&$target)
{
if (vartrue($target->mySQLlastErrText) && E107_DEBUG_LEVEL != 0)
if (vartrue($target->getLastErrText()) && E107_DEBUG_LEVEL != 0)
{
$tmp2 = debug_backtrace();
$tmp = $target->mySQLlastErrText;
$tmp = $target->getLastErrText();
echo $tmp." [ ".basename(__FILE__)." on line ".$tmp2[0]['line']."] <br />";
}
return;