PHP Classes

Bug in SQL_Parser.class.php

Recommend this page to a friend!

      SQL Parse and Compile  >  All threads  >  Bug in SQL_Parser.class.php  >  (Un) Subscribe thread alerts  
Subject:Bug in SQL_Parser.class.php
Summary:Fixed a bug in SQL_Parser.class.php
Messages:1
Author:Joost
Date:2013-11-27 13:26:48
 

  1. Bug in SQL_Parser.class.php   Reply   Report abuse  
Picture of Joost Joost - 2013-11-27 13:26:48
In SQL_Parser.class.php in line 448 it says
$result = $this->getParams($clause['Right']['Value'], $clause['Right']['Type']);

This should be
$result = self::getParams($clause['Right']['Value'], $clause['Right']['Type']);

because you cannot call $this in the static way. Use self:: instead of $this.