Page MenuHomeDevCentral

D3610.id9334.diff
No OneTemporary

D3610.id9334.diff

diff --git a/network/mx.php b/network/mx.php
--- a/network/mx.php
+++ b/network/mx.php
@@ -17,7 +17,7 @@
</form>
<?php
function is_domain ($string) {
- return preg_match($string, '/[a-zA-Z\d-]{,63}(\.[a-zA-Z\d-]{,63})*/');
+ return preg_match('/[a-zA-Z\d-]{,63}(\.[a-zA-Z\d-]{,63})*/', $string);
}
function print_mx ($domain) {

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 09:52 (16 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306178
Default Alt Text
D3610.id9334.diff (336 B)

Event Timeline