mirror of
https://github.com/dg/dibi.git
synced 2025-08-30 17:29:53 +02:00
bugfix, enhanced error reporting, better examples
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
* @license GNU GENERAL PUBLIC LICENSE version 2
|
||||
* @package dibi
|
||||
* @category Database
|
||||
* @version 0.8 (Revision: $WCREV$, Date: $WCDATE$)
|
||||
* @version 0.8b (Revision: $WCREV$, Date: $WCDATE$)
|
||||
*/
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
|
||||
define('DIBI', '0.8 (Revision: $WCREV$, Date: $WCDATE$)');
|
||||
define('DIBI', '0.8b (Revision: $WCREV$, Date: $WCDATE$)');
|
||||
|
||||
|
||||
if (version_compare(PHP_VERSION , '5.0.3', '<'))
|
||||
@@ -240,7 +240,10 @@ class dibi
|
||||
*/
|
||||
static public function query($args)
|
||||
{
|
||||
$args = func_get_args();
|
||||
// receive arguments
|
||||
if (!is_array($args))
|
||||
$args = func_get_args();
|
||||
|
||||
return self::getConnection()->query($args);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user