PHP Classes

Missing arg at get_record

Recommend this page to a friend!

      PHPXBase  >  All threads  >  Missing arg at get_record  >  (Un) Subscribe thread alerts  
Subject:Missing arg at get_record
Summary:function xbase_get_record lacks the second argument
Messages:1
Author:Cristiano Sumariva
Date:2009-06-05 16:56:59
 

  1. Missing arg at get_record   Reply   Report abuse  
Picture of Cristiano Sumariva Cristiano Sumariva - 2009-06-05 16:56:59
If you download the class files

the function xbase_get_record($xbase_identifier=false) on api_conversion.php
line 78 prototype missed the second argument $record.

So I get an undefined variable at function call.
Just add it to the prototype.

xbase_get_record($xbase_identifier=false, $record = 1)