From 3b13b56bf85373f314eb3b73092fed77faa7a9c2 Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Fri, 1 Apr 2016 14:41:34 -0400 Subject: [PATCH] Fixed bug -- wrong variable. --- module/VuFind/src/VuFind/Db/Row/Resource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/Db/Row/Resource.php b/module/VuFind/src/VuFind/Db/Row/Resource.php index ddc03cefcc6..fcedd6c3362 100644 --- a/module/VuFind/src/VuFind/Db/Row/Resource.php +++ b/module/VuFind/src/VuFind/Db/Row/Resource.php @@ -166,7 +166,7 @@ public function assignMetadata($driver, \VuFind\Date\Converter $converter) } // Try to find an author; if not available, just leave the default null: - $this->title = mb_substr( + $author = mb_substr( $driver->tryMethod('getPrimaryAuthor'), 0, 255,