title: Use of undefined constant PHP 7.2
body: <p>Since updating, I'm occasionally seeing this warning</p>
  
  <blockquote>
    <p>Warning: Use of undefined constant SSL_CURRENT - assumed 'SSL_CURRENT'
    (this will throw an Error in a future version of PHP) in
    /usr/www/domain/phpmyd/listing.php on line 151</p>
  </blockquote>
  
  <p>This is the line:</p>
  
  <pre><code>$pdf-&gt;Image($PMDR-&gt;get($PMDR-&gt;getConfig('map_type').'_Map')-&gt;getMapImageByCoords($listing['latitude'],$listing['longitude']),$pdf-&gt;GetX(),$pdf-&gt;GetY(),$pdf-&gt;pixelsToUnits(512),$pdf-&gt;pixelsToUnits(512),'','http'.(SSL_CURRENT ? 's' : '').'://maps.google.com/maps?q='.$listing['latitude'].','.$listing['longitude'],'N', false, 300);
  </code></pre>
  
  <p>Just looking at it, should it be like </p>
  
  <pre><code>$pdf-&gt;pixelsToUnits(512),'','http'.('SSL_CURRENT' ? 's' : '')
  </code></pre>
  
  <p>So just adding brackets around SSL_current? Was it always like this, because I never saw errors before.</p>