]> _ Git - cubeextranet.git/commitdiff
wait #4466 @2
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 14 May 2021 10:44:31 +0000 (10:44 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 14 May 2021 10:44:31 +0000 (10:44 +0000)
inc/ws/Util/class.ws.links.php

index 48db926ff88639a5f9151ede596cb2d16800fe88..4eee1d7efeb59f64ecf4460eba60a04259f7e111 100644 (file)
@@ -76,17 +76,17 @@ class wsLinks
                                 $l[$id] = 'physical';
                             }
                         }
-                        if ($id === 'to' && $l['type'] == 2) {
-                            $comment = false;
-                            if (!Zend_Uri_Http::check($l[$id])) {
-                                $comment = 'Invalid URI';
-                            } else {
-                                $comment = self::testLink($l[$id]);
-                            }
-                            if ($comment) {
-                                $s->getComment(PHPExcel_Cell::stringFromColumnIndex($j - 1) . $i)->getText()->createTextRun($comment);
-                            }
-                        }
+//                        if ($id === 'to' && $l['type'] == 2) {
+//                            $comment = false;
+//                            if (!Zend_Uri_Http::check($l[$id])) {
+//                                $comment = 'Invalid URI';
+//                            } else {
+//                                $comment = self::testLink($l[$id]);
+//                            }
+//                            if ($comment) {
+//                                $s->getComment(PHPExcel_Cell::stringFromColumnIndex($j - 1) . $i)->getText()->createTextRun($comment);
+//                            }
+//                        }
                         if ($id === 'to') {
                             $s->getCellByColumnAndRow($i, $j)->setDataType(PHPExcel_Cell_DataType::TYPE_STRING)->getStyle()->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_TEXT);
                         }