Update share.php
[clinton/MarylandElectronicPetitionSignature.git] / share.php
index f6e430d..ce92d7a 100644 (file)
--- a/share.php
+++ b/share.php
@@ -48,7 +48,7 @@ $d = mysqli_fetch_array($r);
   echo "<tr>
   <td align='center'><small>$d2[petition_name]<small></td>
   <td><div class=\"fb-share-button\" 
-     data-href=\"http://md-petition.com/index.php?invite=$d2[web_short_name]\" 
+     data-href=\"http://md-petition.com/$link\" 
      data-layout=\"box_count\" data-size=\"large\">
    </div></td>
    <td><input type='text' size='50' value='http://md-petition.com/$link' id='$d2[web_short_name]'><button onclick='myFunction(\"$d2[web_short_name]\")'>Copy Link</button></td>