Skip to content
Snippets Groups Projects
Commit 5e91c4fa authored by Demian Katz's avatar Demian Katz
Browse files

More concise code.

parent 44d4b181
No related merge requests found
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<?php if (count($this->pickup ?? []) > 1): // Skip form if only one location: ?> <?php if (count($this->pickup ?? []) > 1): // Skip form if only one location: ?>
<tr><th><?=$this->transEsc('Preferred Library')?>:</th> <tr><th><?=$this->transEsc('Preferred Library')?>:</th>
<?php <?php
$selected = (isset($this->profile['home_library']) && $this->profile['home_library'] != "") $selected = (strlen($this->profile['home_library'] ?? '') > 0)
? $this->profile['home_library'] : $this->defaultPickupLocation ? $this->profile['home_library'] : $this->defaultPickupLocation
?> ?>
<td> <td>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment