Skip to content

Instantly share code, notes, and snippets.

@gaetanm
Created September 17, 2013 16:14
Show Gist options
  • Save gaetanm/e1af1b737a2bc85d3888 to your computer and use it in GitHub Desktop.
Save gaetanm/e1af1b737a2bc85d3888 to your computer and use it in GitHub Desktop.
<?php
if ($as->paidVacationDay != null)
$as->paidVacationDay = implode(' ', array_merge(explode(' ',$as->paidVacationDay), (array)$value['paidVacationDay']));
else
$as->paidVacationDay = implode(' ', (array)$value['paidVacationDay']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment