Allow $conds of IDatabase::selectRow to be a string
authorUmherirrender <umherirrender_de.wp@web.de>
Fri, 31 May 2019 19:47:55 +0000 (21:47 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 31 May 2019 19:47:55 +0000 (21:47 +0200)
When not having a condition you can pass a empty string or '*'

Change-Id: Id1bb6cf6e6bd89ad2df492e7441253d06fcf2a2d

includes/libs/rdbms/database/IDatabase.php

index aeefacd..333bd81 100644 (file)
@@ -801,7 +801,7 @@ interface IDatabase {
         *
         * @param string|array $table Table name
         * @param string|array $vars Field names
-        * @param array $conds Conditions
+        * @param string|array $conds Conditions
         * @param string $fname Caller function name
         * @param string|array $options Query options
         * @param array|string $join_conds Join conditions