phpBB

Code Changes

File: phpbb/db/driver/oracle.php

  Unmodified   Added   Modified   Removed
Line 136Line 136
	*/
function _rewrite_col_compare($args)
{

	*/
function _rewrite_col_compare($args)
{

		if (sizeof($args) == 4)

		if (count($args) == 4)

		{
if ($args[2] == '=')
{

		{
if ($args[2] == '=')
{

Line 290Line 290
						and/or need the db restore script, uncomment this.



						and/or need the db restore script, uncomment this.



							if (sizeof($cols) !== sizeof($vals))

							if (count($cols) !== count($vals))

							{
// Try to replace some common data we know is from our restore script or from other sources
$regs[3] = str_replace("'||chr(47)||'", '/', $regs[3]);

							{
// Try to replace some common data we know is from our restore script or from other sources
$regs[3] = str_replace("'||chr(47)||'", '/', $regs[3]);

Line 332Line 332
								if ($string)
{
// New value if cols != value

								if ($string)
{
// New value if cols != value

									$vals[(sizeof($cols) !== sizeof($vals)) ? $i : $i - 1] .= $string;

									$vals[(count($cols) !== count($vals)) ? $i : $i - 1] .= $string;

								}

$vals = array(0 => $vals);

								}

$vals = array(0 => $vals);