Why do you think this is a copy/paste error? I don't get it (what am I
missing)?

Greetings
R


On Thu, Apr 11, 2013 at 9:48 AM, Drak <notifications@github.com> wrote:

> In src/lib/legacy/dbobject/DBUtil.php:
>
> > @@ -2564,6 +2565,63 @@ public static function selectExpandedObjectCount($table, $joinInfo, $where = '',
> >      }
> >
> >      /**
> > +     * Take a basic orderby clause and transform it to it's fully qualified column equivalent.
> > +     *
> > +     * This method exists to ensure that sort-clauses fully qualified (duh!) and thus cross-database compatible.
> > +     *
> > +     * @param string $sort    The plain column sort clause
> > +     * @param array  $table   The table we are sorting against
> > +     *
> > +     * @return string
> > +     */
> > +    public static function convertSortClauseToFullyQualified ($sort, $table)
> > +    {
> > +        if (!$table) {
> > +            return ZWebstore_DBObject_Compat::registerError ('Invalid [table] received for sort qualification');
>
> Copy paste error?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zikula/core/pull/828/files#r3748683>
> .
>